Commit 503fb2b9 authored by nanahira's avatar nanahira

fix

parent 7e0b72d5
Pipeline #14125 failed with stage
in 3 minutes and 32 seconds
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
path: /etc/hosts path: /etc/hosts
marker: '# {mark} MyCard Init block' marker: '# {mark} MyCard Init block'
block: "{{ ansible_default_ipv4.address }} {{ inventory_hostname }} {{ inventory_hostname_short }}" block: "{{ ansible_default_ipv4.address }} {{ inventory_hostname }} {{ inventory_hostname_short }}"
when: inventory_hostname_short != '10' and inventory_hostname_short != '172' and inventory_hostname_short != '192' when: inventory_hostname_short != '10' and inventory_hostname_short != '172' and inventory_hostname_short != '192' and ansible_virtualization_type != 'docker'
- name: clean aliyun - name: clean aliyun
become: true become: true
shell: | shell: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment