Skip to content

Instantly share code, notes, and snippets.

@JCallicoat
Last active June 30, 2016 01:25
Show Gist options
  • Save JCallicoat/7ca6157398e333ad5861bd8c2803863f to your computer and use it in GitHub Desktop.
Save JCallicoat/7ca6157398e333ad5861bd8c2803863f to your computer and use it in GitHub Desktop.
---
# 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