github.com/noironetworks/cilium-net@v1.6.12/contrib/ansible/site.yml (about)

     1  ---
     2  # ansible-playbook -u vagrant --skip-tags=common:delete site.yml
     3  # ansible-playbook -u vagrant --tags=common:delete site.yml
     4  #
     5  # To set HOME to anything other than /home/vagrant
     6  # ansible-playbook --extra-vars '{"CILIUM_HOME":"/tmp"}'  <cmdline>
     7  
     8  - hosts: all
     9    gather_facts: yes
    10    become: yes
    11    vars:
    12      cilium_home: "{{ CILIUM_HOME|default('/home/vagrant') }}"
    13  
    14    roles:
    15      - { role: common, tags: common }
    16      - { role: kernel, tags: kernel, kernel_home: "{{ cilium_home }}" }
    17      - { role: iproute2, tags: iproute2, iproute2_home: "{{ cilium_home }}" }
    18      - { role: docker, tags: docker }
    19      - { role: clang, tags: clang }
    20      - { role: reboot, tags: reboot }
    21      - { role: cleanup, tags: cleanup }