diff --git a/tasks/configure.yml b/tasks/configure.yml index ae1d271c5846baac889e38ff157ac9e6510c275a..4f5c7fea25b0c50260688edd07c0e517fb14efce 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -14,7 +14,6 @@ owner=root group=root mode=644 - #when: scope == 'all' with_items: '{{ groups.all }}' notify: 'Proxy | Restart HAProxy' @@ -24,7 +23,6 @@ owner=root group=root mode=644 - #when: scope == 'all' with_items: '{{ groups.all }}' notify: 'Proxy | Restart HAProxy' @@ -34,7 +32,6 @@ group=root mode=644 state=touch - #when: scope == 'all' with_items: '{{ groups.all }}' notify: 'Proxy | Restart HAProxy' @@ -44,8 +41,6 @@ owner=root group=root mode=644 - #when: scope == 'all' - tags: Config notify: 'Proxy | Restart HAProxy' - name: "Proxy | Install update php script" @@ -61,5 +56,4 @@ owner=root group=root mode=644 - #when: scope == 'all' notify: 'Proxy | Restart HAProxy' diff --git a/tasks/main.yml b/tasks/main.yml index de7bb6bfbec4b1a03b6f65dffc06a2cdbb094e8c..2cb0cdc516f28a9f25bd5143bae3efb523c1375e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,5 +20,6 @@ - block: - include: install.yml - include: configure.yml + tags: Config when: '"haproxy" not in excluded_roles'