mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
hotfix: use auto python interpreter for package tasks, virtualenv for all other tasks
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- awscli
|
||||
- git
|
||||
- ec2-utils
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Install CloudWatch Agent
|
||||
yum:
|
||||
@@ -16,3 +17,4 @@
|
||||
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch
|
||||
notify:
|
||||
- Enable CloudWatch Agent
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
yum:
|
||||
name:
|
||||
- "google-noto-*"
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Link the language fonts into the JDK
|
||||
# Not idiomatic, but cleaner than messing with nested lookups...
|
||||
|
||||
@@ -8,10 +8,12 @@
|
||||
description: Atlassian Slingshot
|
||||
baseurl: "{{ atl_slingshot_yum_repo_url }}"
|
||||
gpgcheck: no
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Install atlassian-slingshot
|
||||
yum:
|
||||
name: atlassian-slingshot
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Enable Postgresql from 'extras'
|
||||
command: amazon-linux-extras install -y "postgresql{{ atl_amazon_extras_postgresql_version }}"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
- name: Install git
|
||||
package:
|
||||
name: git
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
roles:
|
||||
- role: diy_backup
|
||||
|
||||
@@ -7,3 +7,4 @@
|
||||
- libxml2
|
||||
- git-{{ git_version }}
|
||||
- dejavu-sans-fonts
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
- unzip
|
||||
- fontconfig
|
||||
- python-psycopg2
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Create product group
|
||||
group:
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
yum:
|
||||
name:
|
||||
- nfs-utils
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
gpgkey: https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
|
||||
gpgcheck: yes
|
||||
state: present
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Install AdoptOpenJDK
|
||||
yum:
|
||||
name: "adoptopenjdk-{{ java_major_version }}-hotspot"
|
||||
state: present
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: Ensure common JDK symlink exists
|
||||
alternatives:
|
||||
@@ -33,3 +35,4 @@
|
||||
yum:
|
||||
name:
|
||||
- dejavu-fonts-common # Required by the installer
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
name:
|
||||
- tar
|
||||
- shadow-utils
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: "{{ test_pre_step_prefix }} Create application group"
|
||||
group:
|
||||
|
||||
@@ -25,11 +25,13 @@
|
||||
package:
|
||||
state: present
|
||||
name: tar
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: "{{ test_pre_step_prefix }} Install useradd and groupadd binaries"
|
||||
package:
|
||||
state: present
|
||||
name: shadow-utils
|
||||
ansible_python_interpreter: auto
|
||||
|
||||
- name: "{{ test_pre_step_prefix }} Create application group"
|
||||
group:
|
||||
|
||||
Reference in New Issue
Block a user