Commit bd40b869 authored by nanahira's avatar nanahira

fix

parent ec723b82
Pipeline #2753 failed with stage
in 10 seconds
......@@ -9,4 +9,4 @@
blockinfile:
path: /etc/fstab
block: '/swapfile none swap defaults 0 0'
marker: '# Generated by MyCard Init'
marker: '# {mark} MyCard Init block'
......@@ -21,7 +21,7 @@
become: true
blockinfile:
path: /etc/hosts
marker: '# Generated by MyCard Init'
marker: '# {mark} MyCard Init block'
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'
- name: clean aliyun
......
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