Managing remote mirror and mirrorpath as variables at domain.yml level.
This commit is contained in:
parent
c7e474c80e
commit
1e9e6f61f6
@ -1,10 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Configuring executive mirror path
|
||||
set_fact:
|
||||
execmirrorpath: "{{ ansible_local.domain.mirrorpath }}"
|
||||
when: ansible_local.domain.mirror_mode == 'nfs' or ansible_local.domain.mirror_mode == 'local'
|
||||
|
||||
- include: preseed.yml
|
||||
tags:
|
||||
- preseed
|
||||
|
@ -1,4 +1,19 @@
|
||||
---
|
||||
- name: Configuring executive mirror path
|
||||
set_fact:
|
||||
execmirrorpath: "{{ ansible_local.domain.mirrorpath }}"
|
||||
when: ansible_local.domain.mirror_mode == 'nfs' or ansible_local.domain.mirror_mode == 'local'
|
||||
|
||||
- name: Overriding remote_mirror with defaults from domain.yml
|
||||
set_fact:
|
||||
remote_mirror: "{{ ansible_local.domain.remote_mirror }}"
|
||||
when: ansible_local.domain.remote_mirror is defined
|
||||
|
||||
- name: Overriding remote_mirrorpath with defaults from domain.yml
|
||||
set_fact:
|
||||
remote_mirror: "{{ ansible_local.domain.remote_mirrorpath }}"
|
||||
when: ansible_local.domain.remote_mirrorpath is defined
|
||||
|
||||
- name: Verifica configurazione ibay preseed
|
||||
shell: /sbin/e-smith/db accounts show ks
|
||||
register: chk_ks_created
|
||||
|
Loading…
x
Reference in New Issue
Block a user