Last active
June 30, 2016 01:25
-
-
Save JCallicoat/7ca6157398e333ad5861bd8c2803863f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Install the Adaptec AAC-RAID utility arcconf | |
# Based on https://tipstricks.itmatrix.eu/install-adaptec-acc-raid-utility-arcconf-in-ubuntu-14-04/ | |
- hosts: swift-proxy_hosts:swift_obj | |
tasks: | |
- name: Add arcconf apt-keys | |
apt_key: | |
url: "https://archive.thomas-krenn.com/tk-archive.gpg.pub" | |
state: "present" | |
register: add_keys | |
until: add_keys|success | |
ignore_errors: True | |
retries: 5 | |
delay: 2 | |
- name: Add arcconf repos | |
apt_repository: | |
repo: "deb http://archive.thomas-krenn.com/packages precise main optional" | |
state: "present" | |
register: add_repos | |
until: add_repos|success | |
retries: 5 | |
delay: 2 | |
- name: Update apt if necessary | |
apt: | |
update_cache: yes | |
when: add_repos|changed | |
- name: Install arcconf packages | |
apt: | |
pkg: "arcconf" | |
state: latest | |
register: install_packages | |
until: install_packages|success | |
retries: 5 | |
delay: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment