diff --git a/roles/role_deploy_SemanticScuttle/tasks/main.yml b/roles/role_deploy_SemanticScuttle/tasks/main.yml index a7001df..39cf574 100644 --- a/roles/role_deploy_SemanticScuttle/tasks/main.yml +++ b/roles/role_deploy_SemanticScuttle/tasks/main.yml @@ -121,12 +121,6 @@ failed_when: false become: true -- name: Add php5-fpm.{{ DOMAIN }} to /etc/hosts - ansible.builtin.lineinfile: - path: "/etc/hosts" - line: "127.0.0.1 php5-fpm.{{ DOMAIN }} php5-fpm" - become: true - - name: Create apache-scuttle container containers.podman.podman_container: name: apache-scuttle @@ -157,6 +151,18 @@ path: /etc/systemd/system become: true +- name: Add php5-fpm.{{ DOMAIN }} to /etc/hosts + ansible.builtin.lineinfile: + path: "/etc/hosts" + line: "127.0.0.1 php5-fpm.{{ DOMAIN }} php5-fpm" + become: true + +- name: Add apache-scuttle.{{ DOMAIN }} to /etc/hosts + ansible.builtin.lineinfile: + path: "/etc/hosts" + line: "127.0.0.1 apache-scuttle.{{ DOMAIN }} apache-scuttle" + become: true + - name: start/enable container service ansible.builtin.systemd: daemon-reload: true