-
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: Bind Mount repeats mount command when using a bind mount #8422
Comments
This appears to be a duplicate of #7121. The issue comes down to python's os.path.ismount() does not recognize bind mounts as mounts. |
Hi! Thanks very much for your interest in Ansible. It sincerely means a lot to us. On September 26, 2014, due to enormous levels of contribution to the project Ansible decided to reorganize module repos, making it easier We split modules from the main project off into two repos, http://github.com/ansible/ansible-modules-core and http://github.com/ansible/ansible-modules-extras If you would still like this ticket attended to, we will need your help in having it reopened in one of the two new repos, and instructions are provided below. We apologize that we are not able to make this transition happen seamlessly, though this is a one-time change and your help is greatly appreciated -- Both sets of modules will ship with Ansible, though they'll receive slightly different ticket handling. To locate where a module lives between 'core' and 'extras'
Additionally, should you need more help with this, you can ask questions on:
Thank you very much! |
Issue Type:
Bug Report
Ansible Version:
ansible 1.7 (devel 189824d) last updated 2014/07/30 17:24:01 (GMT +200)
Environment:
Ubuntu 12.04 LTS
Summary:
The Mount Module is not idempotent if you are using an Bindmount with state=mounted.
It mounts it on every run
Steps To Reproduce:
(No, i wont use Symlinks for this)
Expected Results:
Correct checking of the Mount Status and just execute it once if neccessary
Actual Results:
3x Run, 3x "Changed" ->
$ mount
/usr/lib/jvm/java-7-oracle on /usr/local/jdk1.7 type none (rw,bind)
/usr/lib/jvm/java-7-oracle on /usr/local/jdk1.7 type none (rw,bind)
/usr/lib/jvm/java-7-oracle on /usr/local/jdk1.7 type none (rw,bind)
The text was updated successfully, but these errors were encountered: