Lots of updated roles

This commit is contained in:
2020-05-12 17:07:38 -06:00
parent 5a9254097e
commit 6bb3e3f34f
35 changed files with 264 additions and 125 deletions

View File

@@ -6,7 +6,7 @@
dest: "/etc/mysql/mariadb.conf.d/50-server.cnf"
owner: root
group: root
mode: 0644 #-rw-r--r--
mode: '0644' #-rw-r--r--
notify: restart mariadb # Only runs if file changed!
# Set MySQL options defined in OpenNebula docs

View File

@@ -6,5 +6,5 @@
dest: "/etc/redis/redis.conf"
owner: root
group: root
mode: 0644 # -rw-r--r--
mode: '0644' # -rw-r--r--
notify: restart redis # Only runs if file changed!

View File

@@ -10,7 +10,7 @@
dest: "/etc/one/oned.conf"
owner: root
group: root
mode: 0644 #-rw-r--r--
mode: '0644' #-rw-r--r--
notify: restart opennebula
# Override sunstone CSS
@@ -20,7 +20,7 @@
dest: '/usr/lib/one/sunstone/public/css/custom.css'
owner: 'oneadmin'
group: 'oneadmin'
mode: 0644
mode: '0644'
notify: restart sunstone
# Set oneadmin password (not linux password, but OpenNebula software password)
@@ -45,7 +45,7 @@
dest: '/var/lib/one/.ssh/config'
owner: 'oneadmin'
group: 'oneadmin'
mode: 0644
mode: '0644'
# Authorize oneadmin user to SSH into itself
- name: Authorizing SSH keys for oneadmin
@@ -62,7 +62,7 @@
dest: '/var/lib/one/.ssh/id_rsa.pub'
owner: 'oneadmin'
group: 'oneadmin'
mode: 0644
mode: '0644'
# Create oneadmin private key
- name: Copying oneadmin SSH private key
@@ -71,4 +71,4 @@
dest: '/var/lib/one/.ssh/id_rsa'
owner: 'oneadmin'
group: 'oneadmin'
mode: 0600
mode: '0600'

View File

@@ -24,7 +24,7 @@
dest: /var/lib/one/.ssh/id_rsa.pub
owner: oneadmin
group: oneadmin
mode: 0644
mode: '0644'
- name: Copying oneadmin SSH private key
copy:
@@ -32,7 +32,7 @@
dest: /var/lib/one/.ssh/id_rsa
owner: oneadmin
group: oneadmin
mode: 0600
mode: '0600'
# Authorize oneadmin to SSH to self
- name: Authorizing oneadmin SSH keys