Compare commits
6 Commits
umcg-0.2
...
51e2bf3544
Author | SHA1 | Date | |
---|---|---|---|
|
51e2bf3544 | ||
|
375d5fa4c9 | ||
|
4d95b0ddbd | ||
|
981b1eff63 | ||
|
31e3506d30 | ||
|
03a619823d |
@@ -1,2 +1,6 @@
|
||||
[defaults]
|
||||
inventory = merlin
|
||||
inventory = hosts
|
||||
stdout_callback = debug
|
||||
vault_password_file = .vault_pass.txt
|
||||
forks = 20
|
||||
host_key_checking = false
|
||||
|
@@ -1,7 +1,13 @@
|
||||
---
|
||||
- hosts: all
|
||||
name: Dummy to gather facts
|
||||
tasks: []
|
||||
tasks:
|
||||
- name: gather facts even if hosts are excluded.
|
||||
setup:
|
||||
delegate_to: "{{item}}"
|
||||
delegate_facts: True
|
||||
loop: "{{groups['all']}}"
|
||||
|
||||
|
||||
- hosts: cinder-controller
|
||||
become: True
|
||||
|
@@ -1,5 +1,11 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: True
|
||||
vars_prompt:
|
||||
- name: "docker_user"
|
||||
prompt: "What is your p number?"
|
||||
- name: "docker_pass"
|
||||
prompt: "What is your password?"
|
||||
private: yes
|
||||
roles:
|
||||
- common
|
||||
|
2
group_vars/horizon.yml
Normal file
2
group_vars/horizon.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
security_fail2ban_enabled: false
|
@@ -6,4 +6,5 @@
|
||||
- hosts: horizon
|
||||
become: True
|
||||
roles:
|
||||
- geerlingguy.security
|
||||
- horizon
|
||||
|
2
host_vars/openstack03
Normal file
2
host_vars/openstack03
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
listen_ip: '172.23.40.243'
|
2
host_vars/openstack04
Normal file
2
host_vars/openstack04
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
listen_ip: '172.23.40.253'
|
@@ -27,9 +27,9 @@ openstack03
|
||||
|
||||
[cinder-storage]
|
||||
openstack03 storage_volume=/dev/sdb1
|
||||
openstack04 storage_volume=/dev/sdb1
|
||||
|
||||
[nova-compute]
|
||||
openstack03 physical_interface_mappings=provider:enp4s0f0
|
||||
openstack04 physical_interface_mappings=provider:eno1
|
||||
|
||||
[all:vars]
|
||||
listen_ip=172.23.40.243
|
||||
|
@@ -27,3 +27,10 @@
|
||||
group: root
|
||||
|
||||
- import_tasks: docker.yml
|
||||
|
||||
|
||||
- name: Log into DockerHub
|
||||
docker_login:
|
||||
registry: registry.webhosting.rug.nl
|
||||
username: "{{ docker_user }}"
|
||||
password: "{{ docker_pass }}"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
export OS_PROJECT_DOMAIN_NAME=Default
|
||||
export OS_USER_DOMAIN_NAME=Default
|
||||
export OS_TENANT_NAME=admin
|
||||
export OS_USERNAME=admin
|
||||
export OS_PASSWORD={{ hostvars[groups['keystone'][0]]['OS_PASSWORD'] }}
|
||||
|
Reference in New Issue
Block a user