Commit ea2036ff by e0d

making handlers better.

parent 7cb91899
--- ---
- include: create_users.yml - include: create_users.yml
- include: create_github_users.yml #- include: create_github_users.yml
when: github_users is defined # when: github_users is defined
- name: common | Add user www-data - name: common | Add user www-data
# This user should be created on the system by default # This user should be created on the system by default
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
copy: copy:
src={{ notifier_git_identity_path }} dest=/etc/git-identity src={{ notifier_git_identity_path }} dest=/etc/git-identity
force=yes owner=ubuntu group=adm mode=60 force=yes owner=ubuntu group=adm mode=60
notify:
- notifier | restart notifier
tags: tags:
- notifier - notifier
- deploy - deploy
...@@ -49,8 +47,6 @@ ...@@ -49,8 +47,6 @@
file: file:
path={{ notifier_code_dir }} state=directory owner={{ notifier_user }} path={{ notifier_code_dir }} state=directory owner={{ notifier_user }}
group={{ notifier_user }} mode=2750 recurse=yes group={{ notifier_user }} mode=2750 recurse=yes
notify:
- notifier | restart notifier
tags: tags:
- notifier - notifier
- deploy - deploy
...@@ -62,8 +58,6 @@ ...@@ -62,8 +58,6 @@
# #
- name: notifier | remove read-only ssh key for the content repo - name: notifier | remove read-only ssh key for the content repo
file: path=/etc/git-identity state=absent file: path=/etc/git-identity state=absent
notify:
- notifier | restart notifier
tags: tags:
- notifier - notifier
- deploy - deploy
...@@ -75,8 +69,6 @@ ...@@ -75,8 +69,6 @@
# #
- name: notifier | remove ssh script - name: notifier | remove ssh script
file: path=/tmp/git_ssh.sh state=absent file: path=/tmp/git_ssh.sh state=absent
notify:
- notifier | restart notifier
tags: tags:
- notifier - notifier
- deploy - deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment