diff options
author | Stephen Smoogen <smooge@redhat.com> | 2014-11-03 23:18:19 +0000 |
---|---|---|
committer | Stephen Smoogen <smooge@redhat.com> | 2014-11-03 23:18:19 +0000 |
commit | 396c116b74aff18a9a120cdbc7b9319b61c83f8d (patch) | |
tree | 2bcfd93c4cd43af8da0fe71872b29ad6ccef7337 | |
parent | 57d2f6409750ea310c827fb0cd2ca813a48c1def (diff) | |
download | ansible-396c116b74aff18a9a120cdbc7b9319b61c83f8d.tar.gz ansible-396c116b74aff18a9a120cdbc7b9319b61c83f8d.tar.xz ansible-396c116b74aff18a9a120cdbc7b9319b61c83f8d.zip |
and then we tried to make cloud-noc01 use fakefas
-rw-r--r-- | files/2fa/pam_url.conf.cloud | 21 | ||||
-rw-r--r-- | files/rdiff-backup/#run-rdiff-backups.cron# | 3 | ||||
-rw-r--r-- | roles/hosts/files/cloud-hosts | 5 |
3 files changed, 26 insertions, 3 deletions
diff --git a/files/2fa/pam_url.conf.cloud b/files/2fa/pam_url.conf.cloud new file mode 100644 index 000000000..9ce7690b8 --- /dev/null +++ b/files/2fa/pam_url.conf.cloud @@ -0,0 +1,21 @@ +pam_url: +{ + settings: + { + url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch + returncode = "OK"; # The remote script/cgi should return a 200 http code and this string as its only results + userfield = "user"; # userfield name to send + passwdfield = "token"; # passwdfield name to send + extradata = "&do=login"; # extradata to send + prompt = "Password+Token: "; # password prompt + }; + + ssl: + { + verify_peer = true; # Should we verify SSL ? + verify_host = true; # Should we verify the CN in the SSL cert? + client_cert = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side certificate + client_key = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side key (can be same file as above if a single cert) + ca_cert = "/etc/pki/tls/private/totpcgi-ca.cert"; + }; +}; diff --git a/files/rdiff-backup/#run-rdiff-backups.cron# b/files/rdiff-backup/#run-rdiff-backups.cron# deleted file mode 100644 index e1045d232..000000000 --- a/files/rdiff-backup/#run-rdiff-backups.cron# +++ /dev/null @@ -1,3 +0,0 @@ -# run rdiff backups -MAILTO=kevin@scrye.com,smooge@gmail.com -00 22 * * * root /usr/local/bin/lock-wrapper run-rdiff-backups "/usr/local/bin/run-rdiff-backups" diff --git a/roles/hosts/files/cloud-hosts b/roles/hosts/files/cloud-hosts new file mode 100644 index 000000000..9ffec69fa --- /dev/null +++ b/roles/hosts/files/cloud-hosts @@ -0,0 +1,5 @@ +127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 +::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 + +209.132.181.6 infrastructure infrastructure.fedoraproject.org +209.132.181.32 fas-all fas-all.phx2.fedoraproject.org |