~suligap/canonical-identity-provider/charm-de-oops

« back to all changes in this revision

Viewing changes to roles/directories-and-permissions/handlers/main.yaml

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Guillermo Gonzalez
  • Date: 2019-05-22 17:33:54 UTC
  • mfrom: (87.1.7 xenial-support)
  • Revision ID: otto-copilot@canonical.com-20190522173354-chfy66wz3mfimyrf
make it work in xenial

Merged from https://code.launchpad.net/~verterok/canonical-identity-provider/xenial-charm/+merge/366733

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# ansible file module's recursion seems broken
2
2
- name: Ensure group ownership
3
3
  shell: chown -R :{{ user }} {{ item }}
4
 
  with_items: readonly_dirs + writable_dirs
 
4
  with_flattened:
 
5
    - readonly_dirs
 
6
    - writable_dirs
5
7
 
6
8
- name: Ensure readonly group permissions
7
9
  shell: chmod -R g-w {{ item }}