Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by moocow ( 2 years ago )
Play:
  - name: "moo2"
    ansible.builtin.debug:
      msg: "{{item}}"
    when: false
    loop: [1, 2, 3, 4, 5, 6]

results in:
PLAY [vb1] ************************************************************************************************************************************************************************************

TASK [moo2] ***********************************************************************************************************************************************************************************
Monday 14 October 2024  17:13:05 +1100 (0:00:00.035)       0:00:00.035 ******** 
skipping: [vb1] => (item=1) 
skipping: [vb1] => (item=2) 
skipping: [vb1] => (item=3) 
skipping: [vb1] => (item=4) 
skipping: [vb1] => (item=5) 
skipping: [vb1] => (item=6) 
skipping: [vb1]

PLAY RECAP ************************************************************************************************************************************************************************************
vb1                        : ok=0    changed=0    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0   

Playbook run took 0 days, 0 hours, 0 minutes, 0 seconds
Monday 14 October 2024  17:13:05 +1100 (0:00:00.024)       0:00:00.060 ******** 
=============================================================================== 
moo2 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s

Why is it so?

Packages:
   package ansible 10.5.0, installed using Python 3.11.2
    - akit
    - ansible
    - ansible-community
    - ansible-config
    - ansible-connection
    - ansible-console
    - ansible-doc
    - ansible-galaxy
    - ansible-inventory
    - ansible-playbook
    - ansible-pull
    - ansible-test
    - ansible-vault
    - awx
    - normalizer
    Injected Packages:
      - ansible-base 2.10.17
      - ansible-specdoc 0.0.17
      - awxkit 24.6.1
      - linode-api4 5.22.0
      - linode-python 1.1.1
      - netaddr 1.3.0
      - polling 0.3.2
      - setuptools 75.1.0
      - setuptools-scm 8.1.0

 

Revise this Paste

Your Name: Code Language: