Fix missing hosts records for SemanticScuttle containers.
This commit is contained in:
parent
8d6c53fe66
commit
7b903cca3b
@ -121,12 +121,6 @@
|
|||||||
failed_when: false
|
failed_when: false
|
||||||
become: true
|
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
|
- name: Create apache-scuttle container
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
name: apache-scuttle
|
name: apache-scuttle
|
||||||
@ -157,6 +151,18 @@
|
|||||||
path: /etc/systemd/system
|
path: /etc/systemd/system
|
||||||
become: true
|
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
|
- name: start/enable container service
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon-reload: true
|
daemon-reload: true
|
||||||
|
Loading…
Reference in New Issue
Block a user