-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount module: incorrect command-line arguments used for Solaris. #22135
Labels
affects_2.2
This issue/PR affects Ansible v2.2
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
solaris
Solaris community
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Comments
ansibot
added
affects_2.2
This issue/PR affects Ansible v2.2
bug_report
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
labels
Mar 1, 2017
@AlexZolotarenko would you be able to submit a pullrequest for that patch? needs_info |
jctanner
removed
the
needs_triage
Needs a first human triage before being processed.
label
Mar 3, 2017
ansibot
added
the
needs_info
This issue requires further information. Please answer any outstanding questions.
label
Mar 3, 2017
@AlexZolotarenko This issue is waiting for your response. Please respond or the issue will be closed. |
ansibot
added
needs_info
This issue requires further information. Please answer any outstanding questions.
and removed
needs_info
This issue requires further information. Please answer any outstanding questions.
labels
Mar 21, 2017
I'm not a developer and have no experience with git other that "checkout". |
ansibot
removed
the
needs_info
This issue requires further information. Please answer any outstanding questions.
label
Mar 22, 2017
ansibot
added
the
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
label
Jun 29, 2017
Linking the PR #22865. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.2
This issue/PR affects Ansible v2.2
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
solaris
Solaris community
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
mount module
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Running ansible on ubuntu linux 16.04.1
Controlling hosts with Solaris 11.2/11.3
SUMMARY
mount module uses incorrect command-line arguments for SunOS,
"mount" command on Solaris does not support pointing to fstab file,
but _set_fstab_args(args) do not check if task is running against SunOS and in this case adds "-T path_to_fstab..." to command-line arguments.
STEPS TO REPRODUCE
Just try any mount task with state "mounted" against Solaris.
cat roles/nfs_client/defaults/main.yml
tail roles/nfs_client/tasks/solaris.yml
EXPECTED RESULTS
According to these var and task, two NFS shares mounted on destination server.
ACTUAL RESULTS
POTENTIAL FIX
The text was updated successfully, but these errors were encountered: