Compare commits

...

2 Commits

Author SHA1 Message Date
Egon Rijpkema
51e2bf3544 Login to docker repo is now needed. 2018-11-21 15:49:06 +01:00
Egon Rijpkema
375d5fa4c9 changes for openstack03 2018-10-11 09:59:16 +02:00
4 changed files with 21 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -31,5 +31,5 @@ openstack04 storage_volume=/dev/sdb1
[nova-compute]
openstack03 physical_interface_mappings=provider:enp4s0f0
openstack04 physical_interface_mappings=provider:enp4s0f0
openstack04 physical_interface_mappings=provider:eno1

View File

@ -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 }}"