Skip to content
Snippets Groups Projects
Commit a7feeb33 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent bb776089
Branches
Tags v3.0.12
No related merge requests found
---
# General # General
oracle_version: 11.2.0 oracle_version: 11.2.0
oracle_schema: ver_{{inventory_hostname}} oracle_schema: ver_{{inventory_hostname}}
......
...@@ -9,25 +9,25 @@ ...@@ -9,25 +9,25 @@
- block: - block:
- name: Install essential packages - name: Install essential packages
apt: apt:
pkg: '{{ packages }}' pkg: '{{ packages }}'
state: present state: present
update_cache: yes update_cache: yes
vars: vars:
packages: packages:
- alien - alien
- libaio1 - libaio1
- bc - bc
- name: Check current status - name: Check current status
shell: ls /u01/app/oracle/product shell: ls /u01/app/oracle/product
register: last_result register: last_result
ignore_errors: yes ignore_errors: yes
- import_tasks: prepare.yml - import_tasks: prepare.yml
when: last_result is defined and last_result.stdout != oracle_version when: last_result is defined and last_result.stdout != oracle_version
- import_tasks: configure.yml - import_tasks: configure.yml
when: not excluded_roles or "oracle" not in excluded_roles when: not excluded_roles or "oracle" not in excluded_roles
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment