Commit 5b504fc6 authored by Łukasz Nowak's avatar Łukasz Nowak

Revert "playbook/vm-bootstrap: Ensure network availability"

This reverts commit dd750800.
parent a5ee30e5
--- ---
dependencies: dependencies:
- { role: vm-bootstrap-hostname }
- { role: package, package_name: python3, package_state: present } - { role: package, package_name: python3, package_state: present }
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
register: upgrade_needed register: upgrade_needed
- include: network.yml - include: network.yml
- include: hostname.yml
- include: user.yml - include: user.yml
- include: ssh.yml - include: ssh.yml
......
- name: configuring systemd-resolved (add search) - name: configuring systemd-resolved (add search)
lineinfile: dest=/etc/systemd/resolved.conf line="Domains=tl.teralab-datascience.fr" lineinfile: dest=/etc/systemd/resolved.conf line="Domains=tl.teralab-datascience.fr"
notify: restart systemd-resolved
- name: configuring systemd-resolved (add DNS) - name: configuring systemd-resolved (add DNS)
lineinfile: dest=/etc/systemd/resolved.conf line="DNS=10.200.218.1" lineinfile: dest=/etc/systemd/resolved.conf line="DNS=10.200.218.1"
notify: restart systemd-resolved
- name: configuring systemd-resolved (no FallbackDNS) - name: configuring systemd-resolved (no FallbackDNS)
lineinfile: dest=/etc/systemd/resolved.conf line="FallbackDNS=" lineinfile: dest=/etc/systemd/resolved.conf line="FallbackDNS="
notify: restart systemd-resolved notify: restart systemd-resolved
- name: Ensure resolved is restarted
meta: flush_handlers
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