AK
Size: a a a
AK
AK
AK
AK
SS
JD
AK
JD
S
S
AK
S
S
DB
S
---
- name: set up hostname
become: yes
hostname:
- name: "{{ host_name }}"
- name: set up etc/hosts
become: yes
blockinfile:
dest: /etc/hosts
block: |
{% for host in etc_hosts %}
{{ host.ip }} {{ host.name }}
{% endfor %}
marker: "# {mark} ANSIBLE ETC_HOSTS"
S
A
mysql:
from: mysql:5.7
volumes:
- /home/user/site/ansible-container/dump-latest.sql:/var/dump-latest.sql
S
S