Compare commits
1 Commits
1990413fbe
...
575450f273
Author | SHA1 | Date | |
---|---|---|---|
575450f273 |
42
en1.yml
42
en1.yml
@ -11,8 +11,10 @@ all:
|
||||
omni_host_webproxy: jupiter
|
||||
|
||||
children:
|
||||
|
||||
servers:
|
||||
children:
|
||||
virtualization: {}
|
||||
virtualization:
|
||||
vars:
|
||||
omni_local_hosts:
|
||||
- hostname: jupiter.svr.local
|
||||
@ -25,6 +27,7 @@ all:
|
||||
jupiter:
|
||||
ansible_host: jupiter.net.enp.one
|
||||
omni_description: EN1 System Control Server
|
||||
omni_docker_swarm_iface: eno2
|
||||
omni_networking:
|
||||
eno1:
|
||||
dhcp: true
|
||||
@ -32,6 +35,9 @@ all:
|
||||
eno2:
|
||||
dhcp: false
|
||||
addresses: ["192.168.42.10/24"]
|
||||
children:
|
||||
worker:
|
||||
hosts:
|
||||
remus:
|
||||
ansible_host: remus.net.enp.one
|
||||
omni_description: EN1 Hypervisor/Datastore
|
||||
@ -52,37 +58,3 @@ all:
|
||||
eno2:
|
||||
dhcp: false
|
||||
addresses: ["192.168.42.30/24"]
|
||||
children:
|
||||
virtualization: {}
|
||||
datastore: {}
|
||||
|
||||
virtualization:
|
||||
hosts:
|
||||
jupiter:
|
||||
omni_docker_swarm_iface: eno2
|
||||
children:
|
||||
virtualization_worker:
|
||||
hosts:
|
||||
remus:
|
||||
omni_docker_swarm_iface: eno2
|
||||
romulus:
|
||||
omni_docker_swarm_iface: eno2
|
||||
|
||||
datastore:
|
||||
children:
|
||||
datastore_arbiter:
|
||||
hosts:
|
||||
jupiter:
|
||||
omni_gluster_brick:
|
||||
mount: /mnt/brick0
|
||||
fs: xfs
|
||||
datastore_block:
|
||||
hosts:
|
||||
remus:
|
||||
omni_gluster_brick:
|
||||
mount: /mnt/brick0
|
||||
fs: xfs
|
||||
romulus:
|
||||
omni_gluster_brick:
|
||||
mount: /mnt/brick0
|
||||
fs: xfs
|
||||
|
@ -1,36 +0,0 @@
|
||||
---
|
||||
- name: Install Nginx and CertBot on CentOS 8 and Fedora
|
||||
when: >-
|
||||
(ansible_distribution == "CentOS" and ansible_distribution_major_version == "8")
|
||||
or
|
||||
ansible_distribution == "Fedora"
|
||||
become: true
|
||||
dnf:
|
||||
state: "{{ _runtime_update_state }}"
|
||||
name:
|
||||
- nginx
|
||||
- certbot
|
||||
- python3-certbot-nginx
|
||||
notify:
|
||||
- restart-nginx
|
||||
|
||||
- name: Install Nginx and CertBot on CentOS 7
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
|
||||
become: true
|
||||
yum:
|
||||
state: "{{ _runtime_update_state }}"
|
||||
name:
|
||||
- nginx
|
||||
- certbot
|
||||
- python-certbot-nginx
|
||||
notify:
|
||||
- restart-nginx
|
||||
|
||||
#
|
||||
# - name: Install configuration
|
||||
# become: true
|
||||
# copy:
|
||||
# src: nginx.conf
|
||||
# dest: /etc/nginx/nginx.conf
|
||||
# notify:
|
||||
# - restart_nginx
|
@ -1,7 +0,0 @@
|
||||
---
|
||||
- name: Restart nginx
|
||||
become: true
|
||||
systemd:
|
||||
name: nginx
|
||||
state: restarted
|
||||
enabled: true
|
Reference in New Issue
Block a user