Skip to content
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

playbook in drupal is not idempotent #192

Closed
arashpath opened this issue Dec 17, 2019 · 1 comment
Closed

playbook in drupal is not idempotent #192

arashpath opened this issue Dec 17, 2019 · 1 comment

Comments

@arashpath
Copy link
Contributor

@arashpath arashpath commented Dec 17, 2019

Last task in the playbook.yml of drupal id not idempotent when you open the website
and run the playbook again.

  - name: Set permissions properly on files directory.
    file:
      path: "{{ drupal_core_path }}/sites/default/files"
      mode: 0777
      state: directory
      recurse: yes
@geerlingguy

This comment has been minimized.

Copy link
Owner

@geerlingguy geerlingguy commented Jan 15, 2020

I can see how that would happen. I think it might be better for me to check what the permissions should be for first install, versus what they should be going forward, and maybe change that task up a bit. It might also be something that was required to work around an issue in earlier versions of Drupal and is no longer needed in the first place (simple is always nicer!).

I'll try to take a look at this and see what I can find by the next time I update the book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.