ansible-playbooks

another attempt to have everything organized ...
git clone https://git.e1e0.net/ansible-playbooks.git
Log | Files | Refs | README | LICENSE

main.yml (1501B)


      1 ---
      2 nut_ups:
      3   - name: ups
      4     driver: blazer_usb
      5     port: auto
      6     desc: "Conceptronic 1200VA 600W"
      7 
      8 nut_acl: |
      9   ACL all 0.0.0.0/0
     10   ACL syno 10.42.30.51/32
     11   ACL localhost 127.0.0.1/32
     12   ACCEPT localhost
     13   ACCEPT syno
     14   REJECT all
     15 
     16 # put the first element the one that will go on upsmon.conf
     17 nut_users:
     18   - name: local_mon
     19     password: !vault |
     20               $ANSIBLE_VAULT;1.1;AES256
     21               62363133343038333639356431323334383330633366353330323164323464613438356566383031
     22               6164303832656630376431366466346136663465343332300a656435336637306262653536656234
     23               66336365323939633966343037613432636231346133316230326434323361623335323237373739
     24               6435623033373463650a303639646430663139656532366530653666656137633231306634353733
     25               36346338323239316662383038376438663135393564383666316630393430313937373736366566
     26               3038666331373062623132613330316564623339343637643630
     27     allowfrom: localhost
     28     upsmon: master
     29   - name: monuser
     30     password: !vault |
     31               $ANSIBLE_VAULT;1.1;AES256
     32               32623837363139373237326334306431656637653535653330663036633934363564343766323962
     33               6465343934616263316265383665333465376131313330610a366633626166333964393763336633
     34               39326638353330346364653030326634386432643466393138646130633861303261613738656462
     35               3835373739396466370a376435366338343430633163366439626637303530343635343736653137
     36               3564
     37     allowfrom: 10.42.30.51
     38     upsmon: slave