SHARE
TWEET

Untitled

a guest Nov 22nd, 2019 191 in 12 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   - name: Add company standart repository
  2.     yum_repository:
  3.       name: "{{ item.name }}"
  4.       description: "{{ item.desc }}"
  5.       baseurl: "{{ item.url }}" #"http://rpm.company.com/7/$basearch/{{ item }}"
  6.       enabled: yes
  7.       gpgkey: "{{ item.gpg }}" #http://rpm.company.com/repo-key
  8.       gpgcheck: "{{ item.gpgcheck | default('yes') }}"
  9.     with_items:
  10.     - { name: company,  desc: "company YUM repo",  url: "http://rpm.company.com/7/$basearch/company",  gpg: "http://rpm.company.com/repo-key"   }
  11.     - { name: nginx,  desc: "company YUM repo",  url: "http://rpm.company.com/7/$basearch/nginx",  gpg: "http://rpm.company.com/repo-key"   }
  12.     - { name: php,    desc: "company YUM repo",  url: "http://rpm.company.com/7/$basearch/php",    gpg: "http://rpm.company.com/repo-key"   }
  13.     - { name: pgsql,  desc: "company YUM repo",  url: "http://rpm.company.com/7/$basearch/pgsql",  gpg: "http://rpm.company.com/repo-key"   }
  14.     - { name: centos, desc: "Centos YUM repo", url: "http://rpm.company.com/7/$basearch/centos", gpg: "http://rpm.company.com/centos-key" }
  15.     - { name: updates,desc: "Centos YUM repo", url: "http://rpm.company.com/7/$basearch/updates",gpg: "http://rpm.company.com/centos-key" }
  16.     - { name: extras, desc: "Centos YUM repo", url: "http://rpm.company.com/7/$basearch/extras", gpg: "http://rpm.company.com/centos-key" }
  17.     - { name: docker, desc: "Docker CE Stable", url: "http://nexus.svc.company.com/repository/docker.repo/7/$basearch/stable", gpg: "http://nexus.svc.company.com/repository/docker.repo/gpg", gpgcheck: "no" }
  18.     tags: repo
  19.     - { name: epel,   desc: "EPEL YUM repo",   url: "http://rpm.company.com/repository/epel/7/$basearch",   gpg: "http://rpm.company.com/epel-key", proxy: "http://proxy.company.ua:3128" }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top