This is the entire output:
ansible-playbook [core 2.12.9]
config file = /etc/ansible/ansible.cfg
configured module search path = [‘/home/emanuel/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /home/emanuel/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible-playbook
python version = 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0]
jinja version = 2.10.1
libyaml = True
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /etc/ansible/webcheckin/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/webcheckin/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/webcheckin/hosts as it did not pass its verify_file() method
Not replacing invalid character(s) “{‘-’}” in group name (kiucargo-servers)
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
Parsed /etc/ansible/webcheckin/hosts inventory source with yaml plugin
Loading collection community.mysql from /usr/lib/python3/dist-packages/ansible_collections/community/mysql
Loading collection community.general from /usr/lib/python3/dist-packages/ansible_collections/community/general
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3/dist-packages/ansible/plugins/callback/default.py
Attempting to use ‘default’ callback.
Skipping callback ‘default’, as we already have a stdout callback.
Attempting to use ‘junit’ callback.
Attempting to use ‘minimal’ callback.
Skipping callback ‘minimal’, as we already have a stdout callback.
Attempting to use ‘oneline’ callback.
Skipping callback ‘oneline’, as we already have a stdout callback.
Attempting to use ‘tree’ callback.
PLAYBOOK: tasks_target.yaml ************************************************************************************************************************
Positional arguments: alta_carrier/playbook/tasks_target.yaml
verbosity: 5
connection: smart
timeout: 10
become_method: sudo
tags: (‘all’,)
inventory: (‘/etc/ansible/webcheckin/hosts’,)
extra_vars: (‘wc2env=stage carrier=LL’,)
forks: 50
step: True
4 plays in alta_carrier/playbook/tasks_target.yaml
PLAY [Seleccionamos el destino] ********************************************************************************************************************
META: ran handlers
META: ran handlers
META: ran handlers
PLAY [Creando DNS para nuevo carrier WC2 STAGE] ****************************************************************************************************
META: ran handlers
Perform task: TASK: Creating DataBase (N)o/(y)es/(c)ontinue: yes
Perform task: TASK: Creating DataBase (N)o/(y)es/(c)ontinue: ***************************************************************************************
TASK [Creating DataBase] ***************************************************************************************************************************
task path: /etc/ansible/webcheckin/alta_carrier/playbook/add_carrier_prod.yaml:6
skipping: [wc2-stage] => {
“changed”: false,
“skip_reason”: “Conditional result was False”
}
Does this skipping: [wc2-stage] mean the playbook is skipping the stage server?
This is my hosts file:
kiucargo-servers:
hosts:
wc2-stage:
ansible_host: 172.x.x.x
wc2-prod:
ansible_host: 172.x.x.x
I understand that the import_playbook parameter function should not matter the prod playbook, am I right?