Tons of updates including erpnext, fusionauth, kong, elasticsearch, postgres-12, opennebula-5.10...

This commit is contained in:
2020-04-15 18:46:59 -06:00
parent 957ff8bb8e
commit 0d76f1eb12
73 changed files with 4532 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
# So ansible does not have to add each hypervisor node to known_hosts
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null

View File

@@ -7,6 +7,11 @@
apt_repository: repo='deb https://downloads.opennebula.org/repo/5.8/Debian/9 stable opennebula' state=present
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
# NO, OpenNebula 5.8 never had a debian 10 repo, does not work with debian 10
# - name: Adding Debian 10 OpenNebula repository
# apt_repository: repo='deb https://downloads.opennebula.org/repo/5.8/Debian/10 stable opennebula' state=present
# when: ansible_os_family == "Debian" and ansible_distribution_major_version == "10"
# Install OpenNebula
- name: Installing OpenNebula controller applications
apt:
@@ -14,3 +19,39 @@
state: present
name: opennebula-node
notify: restart libvirtd
# Set permissions on /var/lib/one folder
- name: Ensuring permissions on /var/lib/one directory
file:
path: /var/lib/one
state: directory
owner: oneadmin
group: oneadmin
mode: '0755'
# Create /var/lib/one/.ssh folder
- name: Creating /var/lib/one/.ssh directory
file:
path: /var/lib/one/.ssh
state: directory
owner: oneadmin
group: oneadmin
mode: '0755'
# Create /var/log/one folder or the daemon will not start
- name: Creating /var/log/one directory
file:
path: /var/log/one
state: directory
owner: oneadmin
group: oneadmin
mode: '0755'
# Copy ssh client config for oneadmin user
- name: Copying oneadmin SSH client config
copy:
src: 'files/ssh.config'
dest: '/var/lib/one/.ssh/config'
owner: 'oneadmin'
group: 'oneadmin'
mode: 0644