diff options
author | Øystein Bedin <oybed@users.noreply.github.com> | 2017-06-16 13:25:27 -0400 |
---|---|---|
committer | Ryan Cook <rcook@redhat.com> | 2017-06-16 10:25:27 -0700 |
commit | 7ba2ef768b25b99f628c88a8e6348a8d0df630a0 (patch) | |
tree | d96d9d6f202955cf980b043376eeedb36482ebc9 /roles/hostnames | |
parent | a6bf0552961c7b8c63639850fd0501941e89938f (diff) | |
download | openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.gz openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.bz2 openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.xz openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.zip |
Revert "Add an Openstack provider (#397)" (#465)
This reverts commit 94756e66352439d48e5d02b461679bd0f1e121cb.
Diffstat (limited to 'roles/hostnames')
-rw-r--r-- | roles/hostnames/tasks/main.yaml | 26 | ||||
-rw-r--r-- | roles/hostnames/test/inv | 12 | ||||
l--------- | roles/hostnames/test/roles | 1 | ||||
-rw-r--r-- | roles/hostnames/test/test.retry | 3 | ||||
-rw-r--r-- | roles/hostnames/test/test.yaml | 4 | ||||
-rw-r--r-- | roles/hostnames/vars/main.yaml | 2 | ||||
-rw-r--r-- | roles/hostnames/vars/records.yaml | 28 |
7 files changed, 0 insertions, 76 deletions
diff --git a/roles/hostnames/tasks/main.yaml b/roles/hostnames/tasks/main.yaml deleted file mode 100644 index c49852210..000000000 --- a/roles/hostnames/tasks/main.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Setting Hostname Fact - set_fact: - new_hostname: "{{ custom_hostname | default(inventory_hostname_short) }}" - -- name: Setting FQDN Fact - set_fact: - new_fqdn: "{{ new_hostname }}.{{ full_dns_domain }}" - -- name: Setting hostname and DNS domain - hostname: name="{{ new_fqdn }}" - -- name: Check for cloud.cfg - stat: path=/etc/cloud/cloud.cfg - register: cloud_cfg - -- name: Prevent cloud-init updates of hostname/fqdn (if applicable) - lineinfile: - dest: /etc/cloud/cloud.cfg - state: present - regexp: "{{ item.regexp }}" - line: "{{ item.line }}" - with_items: - - { regexp: '^ - set_hostname', line: '# - set_hostname' } - - { regexp: '^ - update_hostname', line: '# - update_hostname' } - when: cloud_cfg.stat.exists == True diff --git a/roles/hostnames/test/inv b/roles/hostnames/test/inv deleted file mode 100644 index ffbe6e03d..000000000 --- a/roles/hostnames/test/inv +++ /dev/null @@ -1,12 +0,0 @@ -[all:vars] -dns_domain=example.com - -[openshift_masters] -192.168.124.41 dns_private_ip=1.1.1.41 dns_public_ip=192.168.124.41 -192.168.124.117 dns_private_ip=1.1.1.117 dns_public_ip=192.168.124.117 - -[openshift_nodes] -192.168.124.40 dns_private_ip=1.1.1.40 dns_public_ip=192.168.124.40 - -#[dns] -#192.168.124.117 dns_private_ip=1.1.1.117 diff --git a/roles/hostnames/test/roles b/roles/hostnames/test/roles deleted file mode 120000 index e2b799b9d..000000000 --- a/roles/hostnames/test/roles +++ /dev/null @@ -1 +0,0 @@ -../../../roles/
\ No newline at end of file diff --git a/roles/hostnames/test/test.retry b/roles/hostnames/test/test.retry deleted file mode 100644 index 63fc08e4c..000000000 --- a/roles/hostnames/test/test.retry +++ /dev/null @@ -1,3 +0,0 @@ -192.168.124.117 -192.168.124.40 -192.168.124.41 diff --git a/roles/hostnames/test/test.yaml b/roles/hostnames/test/test.yaml deleted file mode 100644 index 0c56aea51..000000000 --- a/roles/hostnames/test/test.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- hosts: all - roles: - - role: hostnames diff --git a/roles/hostnames/vars/main.yaml b/roles/hostnames/vars/main.yaml deleted file mode 100644 index 3eecb8dc4..000000000 --- a/roles/hostnames/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -counter: 1 diff --git a/roles/hostnames/vars/records.yaml b/roles/hostnames/vars/records.yaml deleted file mode 100644 index 0cadc8181..000000000 --- a/roles/hostnames/vars/records.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: "Building Records" - set_fact: - dns_records_add: - - view: private - zone: example.com - entries: - - type: A - hostname: master1.example.com - ip: 172.16.15.94 - - type: A - hostname: node1.example.com - ip: 172.16.15.86 - - type: A - hostname: node2.example.com - ip: 172.16.15.87 - - view: public - zone: example.com - entries: - - type: A - hostname: master1.example.com - ip: 10.3.10.116 - - type: A - hostname: node1.example.com - ip: 10.3.11.46 - - type: A - hostname: node2.example.com - ip: 10.3.12.6 |