Skip to content

Commit

Permalink
fix: hostname entry (#10)
Browse files Browse the repository at this point in the history
* remove task correction of /etc/hosts
  • Loading branch information
pavelpikta authored and tgadiev committed Jan 8, 2019
1 parent bba7544 commit 76c6a1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Example Playbook
hosts: all

roles:
- role: "lean-delivery.oracle_db"
- role: "lean_delivery.oracle_db"
oracle_version: 11
patch_version: 11.2.0.1
transport_web: "http://my-storage.example.com"
Expand All @@ -152,7 +152,7 @@ Example Playbook
hosts: all

roles:
- role: "lean-delivery.oracle_db"
- role: "lean_delivery.oracle_db"
oracle_version: 11
patch_version: 11.2.0.3
transport: "local"
Expand All @@ -173,7 +173,7 @@ Example Playbook
hosts: all

roles:
- role: "lean-delivery.oracle_db"
- role: "lean_delivery.oracle_db"
oracle_version: 11
patch_version: 11.2.0.4
transport_web: "http://my-storage.example.com"
Expand All @@ -195,7 +195,7 @@ Example Playbook
hosts: all

roles:
- role: "lean-delivery.oracle_db"
- role: "lean_delivery.oracle_db"
oracle_version: 12
patch_version: 12.1.0.2
transport_web: "http://my-storage.example.com"
Expand All @@ -210,7 +210,7 @@ Example Playbook
hosts: all

roles:
- role: "lean-delivery.oracle_db"
- role: "lean_delivery.oracle_db"
oracle_version: xe
transport_web: "http://my-storage.example.com"
oracle_images:
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
galaxy_info:
role_name: "oracle-db"
role_name: "oracle_db"
author: "Lean Delivery Team <[email protected]>"
description: "Lean Delivery Oracle Database install"
company: "EPAM Systems"
Expand Down
8 changes: 0 additions & 8 deletions tasks/system/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
group: "{{ oracledb.install_group }}"
become: True

- name: "Adding hostname entry in /etc/hosts"
lineinfile:
path: /etc/hosts
regexp: "^{{ ansible_default_ipv4.address }}"
line: "{{ ansible_default_ipv4.address }} {{ ansible_fqdn }}"
unsafe_writes: True
become: True

- name: "Chown install directory to oracle user"
file:
group: "{{ oracledb.install_group }}"
Expand Down

0 comments on commit 76c6a1d

Please sign in to comment.