copr-pulp: enable swap

This commit is contained in:
Pavel Raiskup 2024-03-13 20:15:48 +01:00
parent cdb5c923a5
commit 299027e01d
3 changed files with 6 additions and 2 deletions

View file

@ -11,7 +11,7 @@ nagios_Check_Services:
swap: true swap: true
public_ip: 44.206.10.188 public_ip: 44.206.10.188
swap_file_path: /swap swap_file_path: /swap
swap_file_size_mb: 16384 swap_file_size_mb: 8096
tcp_ports: [ tcp_ports: [
22, 22,

View file

@ -13,4 +13,4 @@ nagios_Can_Connect: false
# swap: false # swap: false
public_ip: TODO public_ip: TODO
swap_file_path: /swap swap_file_path: /swap
swap_file_size_mb: 16384 swap_file_size_mb: 8096

View file

@ -19,6 +19,10 @@
vars: vars:
temporary_remote_user: ec2-user temporary_remote_user: ec2-user
- import_tasks: "{{ tasks_path }}/swap.yml"
when:
- swap_file_size_mb is defined
# TODO Remove in favor of base/tasks/main.yml # TODO Remove in favor of base/tasks/main.yml
- name: install platform-python - name: install platform-python
package: name={{ item }} state=present package: name={{ item }} state=present