setup backups for communityblog and magazine

This commit is contained in:
Kevin Fenzi 2017-02-27 19:17:09 +00:00
parent dc50ea60be
commit 5df94f77ea
5 changed files with 16 additions and 0 deletions

View file

@ -24,3 +24,5 @@ taiga.fedorainfracloud.org
taskotron01.qa.fedoraproject.org
nuancier01.phx2.fedoraproject.org
piwik.fedorainfracloud.org
magazine.fedorainfracloud.org
communityblog.fedorainfracloud.org

View file

@ -13,6 +13,10 @@ public_ip: 209.132.184.207
root_auth_users: nb chrisroberts
description: fedora community blog
host_backup_targets: ['/backups', '/var/www/html']
dbs_to_backup: ['wp']
mariadb_root_password: "{{ communityblog_mariadb_password }}"
cloud_networks:
# persistent-net
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"

View file

@ -13,6 +13,10 @@ public_ip: 209.132.184.123
root_auth_users: nb chrisroberts
description: Fedora Magazine
host_backup_targets: ['/backups', '/var/www/html']
dbs_to_backup: ['wp']
mariadb_root_password: "{{ magazine_mariadb_password }}"
cloud_networks:
# persistent-net
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"

View file

@ -25,6 +25,9 @@
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}"
roles:
- mariadb_server
tasks:
- name: add packages
yum: state=present name={{ item }}

View file

@ -25,6 +25,9 @@
- name: set hostname (required by some services, at least postfix need it)
hostname: name="{{inventory_hostname}}"
roles:
- mariadb_server
tasks:
- name: add packages
yum: state=present name={{ item }}