Skip to content

Commit

Permalink
Update to work with automation controller (redhat-cop#47)
Browse files Browse the repository at this point in the history
Update to work with automation controller (redhat-cop#47)
---------

Co-authored-by: Bikouo Aubin <[email protected]>
  • Loading branch information
2 people authored and alinabuzachis committed Sep 18, 2023
1 parent 7bb27cf commit 5fd8f1f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/20230817-update_for_controller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trivial:
- "Update playbooks that include credentials to be able to be used with Automation Controller (not just the command line)"
bugfixes:
- Update playbooks that include credentials to be able to be used with Automation Controller (not just the command line). https://github.com/redhat-cop/cloud.azure_ops/pull/47
4 changes: 2 additions & 2 deletions playbooks/roles/scale_virtual_machine/tasks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
resource_group: "{{ scale_virtual_machine_resource_group }}"
allocation_method: static
name: "{{ scale_virtual_machine_load_balancer.public_ip_name }}"
sku: Basic
sku: Standard
domain_name: "{{ scale_virtual_machine_load_balancer.domain_name | default(omit) }}"
register: public_ip

Expand All @@ -57,7 +57,7 @@
azure.azcollection.azure_rm_loadbalancer:
resource_group: "{{ scale_virtual_machine_resource_group }}"
name: "{{ scale_virtual_machine_load_balancer.name }}"
sku: Basic
sku: Standard
frontend_ip_configurations:
- name: frontend
public_ip_address: "{{ scale_virtual_machine_load_balancer.public_ip_name }}"
Expand Down
4 changes: 2 additions & 2 deletions playbooks/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ azure_vm_user_password: 4fB5In3ueO7,
azure_vm_image:
offer: RHEL
publisher: RedHat
sku: 7-LVM
sku: 8-LVM
version: latest
azure_vm_size: Standard_A2
azure_vm_size: Standard_A1_v2
azure_bastion_vm_size: Standard_A1_v2
azure_number_vm: 3

Expand Down
6 changes: 4 additions & 2 deletions playbooks/vmss_migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
ansible.builtin.yum:
name:
- python3
- python-virtualenv
- python3-virtualenv
- sshpass
- git
state: present
Expand All @@ -107,7 +107,9 @@
ansible.builtin.pip:
virtualenv: "{{ ansible_venv_path }}"
virtualenv_python: python3
name: ansible==2.10.*
name: ansible
state: latest
update_only: true

- name: Create application directories
ansible.builtin.file:
Expand Down
6 changes: 4 additions & 2 deletions playbooks/webapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
ansible.builtin.yum:
name:
- python3
- python-virtualenv
- python3-virtualenv
- sshpass
- git
state: present
Expand All @@ -71,7 +71,9 @@
ansible.builtin.pip:
virtualenv: "{{ ansible_venv_path }}"
virtualenv_python: python3
name: ansible==2.10.*
name: ansible
state: latest
update_only: true

- name: Create application directories
ansible.builtin.file:
Expand Down

0 comments on commit 5fd8f1f

Please sign in to comment.