From 3843aaa0d55f7a07438ce942c9903e5cdc93a9f6 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Thu, 5 Sep 2019 17:54:27 -0500 Subject: [PATCH] Shrink image to 2G and correct repo names --- .travis.yml | 2 +- roles/prep-hp/tasks/main.yml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1aeef69..a86fc23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ script: - cp squashible.yml squashible/ - cd squashible - sudo ansible-playbook -i hosts_generator.py squashible.yml -e "live_os=centos_7" - -e "rootfs_size=4G" + -e "rootfs_size=2G" - ls -lah live_output - sudo chown -R travis:travis live_output - cd live_output diff --git a/roles/prep-hp/tasks/main.yml b/roles/prep-hp/tasks/main.yml index 4d26a1b..a365610 100644 --- a/roles/prep-hp/tasks/main.yml +++ b/roles/prep-hp/tasks/main.yml @@ -21,7 +21,7 @@ description: Management Component Pack baseurl: http://downloads.linux.hpe.com/repo/mcp/centos/7/x86_64/current state: present - file: mcp.repo + file: mcp enabled: yes gpgcheck: no when: ansible_distribution == "CentOS" @@ -32,7 +32,7 @@ description: HP Smart Update Manager baseurl: http://downloads.linux.hpe.com/repo/hpsum/rhel/7/x86_64/current state: present - file: hpsum.repo + file: hpsum enabled: yes gpgcheck: no gpgkey: file:///etc/pki/rpm-gpg/GPG-KEY-hpsum @@ -42,7 +42,6 @@ package: name: "{{ item }}" with_items: - - hp-health - hponcfg - hpsum - ssa