Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks skipped after gluster_volume #24

Open
RomyxBaps opened this issue Aug 2, 2022 · 0 comments
Open

Tasks skipped after gluster_volume #24

RomyxBaps opened this issue Aug 2, 2022 · 0 comments

Comments

@RomyxBaps
Copy link

Hi,

I have a problem with ansible 2.12.
My problem is that after i passed my tasks who create my volume, all the tasks after are skipped :

- name: GlusterFS | Create volume                                                                                                                                                                                                             
  gluster_volume:                                                                                                                                                                                                                             
    state: present                                                                                                                                                                                                                            
    name: "{{ server.volume }}"                                                                                                                                                                                                               
    bricks: "{{ item.bricks | join(',') }}"                                                                                                                                                                                                   
    rebalance: true                                                                                                                                                                                                                           
    start_on_create: true                                                                                                                                                                                                                     
    cluster: "{{ server.servers }}"                                                                                                                                                                                                           
    force: true                                                                                                                                                                                                                               
  loop: "{{ glusterfs_node }}"                                                                                                                                                                                                                
  run_once: true

- name: debug test                                                                                                                                                                                                                            
  debug:                                                                                                                                                                                                                                      
    msg: "test"                                                                                                                                                                                                                               
  changed_when: true

stdout :

TASK [sys-glusterfs : include_tasks] *******************************************
included: /home/rbureau/Documents/DigDeo-GitDev/ansible-2.12/sys-glusterfs/tasks/2-configure.yml for debian-10-bp-1, debian-10-bp-2, debian-10-bp-3 => (item={'bricks': ['/mnt/gv0'], 'servers': ['debian-10-bp-1', 'debian-10-bp-2', 'debian-10-bp-3'], 'volume': 'gv0'})

TASK [sys-glusterfs : GlusterFS | Create volume] *******************************
ok: [debian-10-bp-1] => (item={'bricks': ['/mnt/gv0'], 'servers': ['debian-10-bp-1', 'debian-10-bp-2', 'debian-10-bp-3'], 'volume': 'gv0'})

TASK [sys-glusterfs : debug test] **********************************************
skipping: [debian-10-bp-1]
skipping: [debian-10-bp-2]
skipping: [debian-10-bp-3]

Why ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant