Skip to content
Snippets Groups Projects
Verified Commit 4107cb58 authored by Arie Peterson's avatar Arie Peterson Committed by Varac
Browse files

Create directories for user-defined values in get_control

parent 8eb2a3c1
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,17 @@
- "/oas/control/local"
- "/oas/bin"
- name: Create directory for values
file:
path: "{{ configuration_directory }}/values"
state: directory
become: true
- name: Store external ip on the node itself
copy:
content: "{{ ip_address }}"
dest: "{{ configuration_directory }}/ip"
- name: Generate SSH keys
shell: ssh-keygen -f {{ configuration_directory }}/ssh_key -C "oas-control@${hostname}" -q -N ""
args:
......
---
- name: Check presence of required variables
debug:
var: ip_address
- name: Create directory for values
file:
path: "{{ configuration_directory }}/values"
state: directory
become: true
- name: Store external ip on the node itself
copy:
content: "{{ ip_address }}"
dest: "{{ configuration_directory }}/ip"
- name: Load kernel bridge module
modprobe:
name: "br_netfilter"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment