Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
|
d8f01f8b08 | ||
|
f458aec69e | ||
|
755e5e81ae | ||
|
c6cbf75e92 |
4631 changed files with 18544 additions and 430927 deletions
|
@ -1,68 +0,0 @@
|
||||||
---
|
|
||||||
# .ansible-lint
|
|
||||||
# exclude_paths included in this file are parsed relative to this file's location
|
|
||||||
# and not relative to the CWD of execution. CLI arguments passed to the --exclude
|
|
||||||
# option will be parsed relative to the CWD of execution.
|
|
||||||
exclude_paths:
|
|
||||||
- .cache/ # implicit unless exclude_paths is defined in config
|
|
||||||
- cache_plugins
|
|
||||||
- callback_plugins
|
|
||||||
- files
|
|
||||||
- filter_plugins
|
|
||||||
- handlers
|
|
||||||
- library
|
|
||||||
- scripts
|
|
||||||
# Ignore playbooks with strange error happening in <unicode string>
|
|
||||||
- playbooks/groups/copr-db.yml
|
|
||||||
# Some playbooks contains hardcoded paths, so exclude them from check
|
|
||||||
- playbooks/list-vms-per-host.yml
|
|
||||||
- playbooks/set_root_auth_keys.yml
|
|
||||||
- playbooks/update-proxy-dns.yml
|
|
||||||
- playbooks/update_ticketkey.yml
|
|
||||||
- playbooks/vhost_reboot.yml
|
|
||||||
- playbooks/vhost_update_reboot.yml
|
|
||||||
# parseable: true
|
|
||||||
# quiet: true
|
|
||||||
# verbosity: 1
|
|
||||||
|
|
||||||
# Mock modules or roles in order to pass ansible-playbook --syntax-check
|
|
||||||
mock_modules:
|
|
||||||
- include_playbook
|
|
||||||
# - zuul_return
|
|
||||||
# # note the foo.bar is invalid as being neither a module or a collection
|
|
||||||
# - fake_namespace.fake_collection.fake_module
|
|
||||||
# - fake_namespace.fake_collection.fake_module.fake_submodule
|
|
||||||
mock_roles:
|
|
||||||
- linux-system-roles.network
|
|
||||||
|
|
||||||
use_default_rules: true
|
|
||||||
# Load custom rules from this specific folder
|
|
||||||
# rulesdir:
|
|
||||||
# - ./rule/directory/
|
|
||||||
|
|
||||||
# Offline mode disables installation of requirements.yml
|
|
||||||
offline: true
|
|
||||||
|
|
||||||
# Define required Ansible's variables to satisfy syntax check
|
|
||||||
extra_vars:
|
|
||||||
target: localhost
|
|
||||||
vhost: localhost
|
|
||||||
# multiline_string_variable: |
|
|
||||||
# line1
|
|
||||||
# line2
|
|
||||||
# complex_variable: ":{;\t$()"
|
|
||||||
|
|
||||||
# List of additional kind:pattern to be added at the top of the default
|
|
||||||
# match list, first match determines the file kind.
|
|
||||||
kinds:
|
|
||||||
# - playbook: "**/examples/*.{yml,yaml}"
|
|
||||||
# - galaxy: "**/folder/galaxy.yml"
|
|
||||||
- tasks: "**/tasks/*.yml"
|
|
||||||
- vars: "**/vars/*.yml"
|
|
||||||
# - meta: "**/meta/main.yml"
|
|
||||||
- yaml: "**/*.yaml-too"
|
|
||||||
|
|
||||||
skip_list:
|
|
||||||
- yaml
|
|
||||||
- role-name[path]
|
|
||||||
- var-naming[no-role-prefix]
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1 @@
|
||||||
*.swp
|
*.swp
|
||||||
*.pyc
|
|
||||||
|
|
||||||
# emacs projectile
|
|
||||||
.projectile
|
|
||||||
|
|
5
.mailmap
5
.mailmap
|
@ -1,5 +0,0 @@
|
||||||
Rick Elrod <relrod@redhat.com> <codeblock@fedoraproject.org>
|
|
||||||
Rick Elrod <relrod@redhat.com> Ricky Elrod
|
|
||||||
Rick Elrod <relrod@redhat.com> Ricky Elrod <codeblock@lockbox01.phx2.fedoraproject.org>
|
|
||||||
|
|
||||||
# ... others go here ...
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
# See https://pre-commit.com for more information
|
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
|
||||||
repos:
|
|
||||||
|
|
||||||
# - repo: https://github.com/pre-commit/pre-commit-hooks
|
|
||||||
# rev: v3.2.0
|
|
||||||
# hooks:
|
|
||||||
# - id: trailing-whitespace
|
|
||||||
# - id: end-of-file-fixer
|
|
||||||
# - id: check-yaml
|
|
||||||
# - id: check-added-large-files
|
|
||||||
|
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
|
||||||
rev: v1.35.1
|
|
||||||
hooks:
|
|
||||||
- id: yamllint
|
|
||||||
|
|
||||||
# - repo: https://github.com/ansible/ansible-lint
|
|
||||||
# rev: v24.12.1
|
|
||||||
# hooks:
|
|
||||||
# - id: ansible-lint
|
|
|
@ -1,26 +0,0 @@
|
||||||
---
|
|
||||||
extends: default
|
|
||||||
|
|
||||||
rules:
|
|
||||||
comments:
|
|
||||||
min-spaces-from-content: 1
|
|
||||||
level: error
|
|
||||||
comments-indentation: false
|
|
||||||
braces:
|
|
||||||
max-spaces-inside: 1
|
|
||||||
document-start:
|
|
||||||
level: error
|
|
||||||
octal-values:
|
|
||||||
forbid-implicit-octal: true
|
|
||||||
forbid-explicit-octal: true
|
|
||||||
indentation:
|
|
||||||
spaces: 2
|
|
||||||
indent-sequences: whatever
|
|
||||||
level: warning
|
|
||||||
line-length: disable
|
|
||||||
# line-length:
|
|
||||||
# max: 100
|
|
||||||
# level: warning
|
|
||||||
truthy:
|
|
||||||
allowed-values: ['true', 'false', 'yes', 'no']
|
|
||||||
...
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
- project:
|
|
||||||
check:
|
|
||||||
jobs:
|
|
||||||
- fi-ansible-lint-diff
|
|
||||||
- fi-yamllint-diff
|
|
112
CONVENTIONS
112
CONVENTIONS
|
@ -1,112 +0,0 @@
|
||||||
This file describes some conventions we are going to try and use
|
|
||||||
to keep things organized and everyone on the same page.
|
|
||||||
|
|
||||||
If you find you need to diverge from this document for something,
|
|
||||||
please discuss it on the infrastructure list and see if we can
|
|
||||||
adjust this document for that use case.
|
|
||||||
|
|
||||||
Playbook naming
|
|
||||||
===============
|
|
||||||
The top level playbooks directory should contain:
|
|
||||||
|
|
||||||
* Playbooks that are generic and used by several groups/hosts playbooks
|
|
||||||
* Playbooks used for utility purposes from command line
|
|
||||||
* Groups and Hosts subdirs.
|
|
||||||
|
|
||||||
Generic playbooks are included in other playbooks and perform
|
|
||||||
basic setup that is used by other groups/hosts.
|
|
||||||
Examples: cloud setup, collectd, webserver, iptables, etc
|
|
||||||
|
|
||||||
Utility playbooks are used by sysadmins command line to perform some
|
|
||||||
specific function. Examples: host update, vhost update, vhost reboot.
|
|
||||||
|
|
||||||
The playbooks/groups/ directory should contain one playbook per
|
|
||||||
group. This should be used in the case of multiple machines/instances
|
|
||||||
in a group. MUST include a hosts entry that describes the hosts in the group.
|
|
||||||
Examples: packages, proxy, virthost, etc.
|
|
||||||
Try and be descriptive with the name here.
|
|
||||||
|
|
||||||
The playbooks/hosts/ directory should contain one playbook per 'host'
|
|
||||||
for when a role is handled by only one host. Hosts playbooks
|
|
||||||
MUST be FQDN.yml, MUST contain Hosts: the host or ip.
|
|
||||||
Examples: persistent cloud images, special hosts.
|
|
||||||
|
|
||||||
Where possible groups should be used. Hosts playbooks should only
|
|
||||||
be used in specific cases where a generic group playbook would not work.
|
|
||||||
|
|
||||||
Both groups and hosts playbooks should always include:
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "{{ private}}/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
Play naming
|
|
||||||
===========
|
|
||||||
Plays in playbooks should be a short readable description of what the play
|
|
||||||
is doing. This will be displayed to the user and/or mailed out, so think
|
|
||||||
about what you would like to see if the play you are writing failed that
|
|
||||||
would be descriptive to the reader to help fix it.
|
|
||||||
|
|
||||||
Inventory
|
|
||||||
=========
|
|
||||||
The inventory file should add all hosts to one (or more) groups.
|
|
||||||
|
|
||||||
When there are staging hosts for a role/service, they should be in the
|
|
||||||
main group for that role as well as a staging for the role.
|
|
||||||
FIXME: will depend on how we do staging. (see below)
|
|
||||||
|
|
||||||
Tags
|
|
||||||
====
|
|
||||||
Tags allow you to run just a subset of plays with a specific tag(s).
|
|
||||||
|
|
||||||
We have some standard tags we should use on all plays:
|
|
||||||
|
|
||||||
packages - this play installs or removes packages.
|
|
||||||
|
|
||||||
config - this play installs config files.
|
|
||||||
|
|
||||||
check - we could use this tag to include 'is everything running that should be'
|
|
||||||
type tasks.
|
|
||||||
|
|
||||||
FIXME: others?
|
|
||||||
|
|
||||||
Production vs Staging vs Development
|
|
||||||
====================================
|
|
||||||
In the default state, we should strive to have production and staging using
|
|
||||||
the same exact playbooks. development can also do so, or just be a more
|
|
||||||
minimal free form for the developer.
|
|
||||||
|
|
||||||
When needing to make changes to test in staging the following process should
|
|
||||||
be used:
|
|
||||||
|
|
||||||
FIXME... :)
|
|
||||||
|
|
||||||
Requirements:
|
|
||||||
|
|
||||||
1. shouldn't touch prod playbook by default
|
|
||||||
2. should be easy to merge changes back to prod
|
|
||||||
3. should not require people to remember to do a bunch of steps.
|
|
||||||
4. should be easy to see exactly what changes are pending only in stg.
|
|
||||||
|
|
||||||
Cron job/automatic execution
|
|
||||||
============================
|
|
||||||
|
|
||||||
We would like to get ansible running over hosts in an automated way.
|
|
||||||
A git hook could do this.
|
|
||||||
|
|
||||||
* On commit:
|
|
||||||
If we have a way to determine exactly what hosts are affected by a
|
|
||||||
change we could simply run only on those hosts.
|
|
||||||
|
|
||||||
We might want a short delay (10m) to allow someone to see a problem
|
|
||||||
or others to note one from the commit.
|
|
||||||
|
|
||||||
* Once a day: (more often? less often?)
|
|
||||||
|
|
||||||
We may want to re-run on all hosts once a day and yell loudly
|
|
||||||
if anything changed.
|
|
||||||
|
|
||||||
FIXME: perhaps we want a tag of items to run at this time?
|
|
||||||
FIXME: alternately we could have a util playbook that runs a
|
|
||||||
bunch of checks for us?
|
|
||||||
|
|
1
README
1
README
|
@ -1 +0,0 @@
|
||||||
README.md
|
|
242
README
Normal file
242
README
Normal file
|
@ -0,0 +1,242 @@
|
||||||
|
ansible repository/structure
|
||||||
|
|
||||||
|
files - files and templates for use in playbooks/tasks
|
||||||
|
- subdirs for specific tasks/dirs highly recommended
|
||||||
|
|
||||||
|
inventory - where the inventory and additional vars is stored
|
||||||
|
|
||||||
|
library - library of custom local ansible modules
|
||||||
|
|
||||||
|
playbooks - collections of plays we want to run on systems
|
||||||
|
|
||||||
|
tasks - snippets of tasks that should be included in plays
|
||||||
|
|
||||||
|
|
||||||
|
public path for everything is:
|
||||||
|
|
||||||
|
/srv/web/infra/ansible
|
||||||
|
|
||||||
|
private path - which is sysadmin-main accessible only is:
|
||||||
|
|
||||||
|
/srv/private/ansible
|
||||||
|
|
||||||
|
|
||||||
|
In general to run any ansible playbook you will want to run:
|
||||||
|
|
||||||
|
sudo -i ansible-playbook /path/to/playbook.yml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cloud instances:
|
||||||
|
to startup a new cloud instance and configure for basic server use run (as
|
||||||
|
root):
|
||||||
|
|
||||||
|
el6:
|
||||||
|
sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/el6_temp_instance.yml
|
||||||
|
|
||||||
|
f19:
|
||||||
|
sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/f19_temp_instance.yml
|
||||||
|
|
||||||
|
|
||||||
|
The -i is important - ansible's tools need access to root's sshagent as well
|
||||||
|
as the cloud credentials to run the above playbooks successfully.
|
||||||
|
|
||||||
|
This will setup a new instance, provision it and email sysadmin-main that
|
||||||
|
the instance was created, it's instance id (for terminating it, attaching
|
||||||
|
volumes, etc) and it's ip address.
|
||||||
|
|
||||||
|
You will then be able to login, as root.
|
||||||
|
|
||||||
|
You can add various extra vars to the above commands to change the instance
|
||||||
|
you've just spun up.
|
||||||
|
|
||||||
|
variables to define:
|
||||||
|
instance_type=c1.medium
|
||||||
|
security_group=default
|
||||||
|
root_auth_users='username1 username2 @groupname'
|
||||||
|
hostbase=basename for hostname - will have instance id appended to it
|
||||||
|
|
||||||
|
|
||||||
|
define these with:
|
||||||
|
|
||||||
|
--extra-vars="varname=value varname1=value varname2=value"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name Memory_MB Disk VCPUs
|
||||||
|
m1.tiny 512 0 1
|
||||||
|
m1.small 2048 20 1
|
||||||
|
m1.medium 4096 40 2
|
||||||
|
m1.large 8192 80 4
|
||||||
|
m1.xlarge 16384 160 8
|
||||||
|
m1.builder 5120 50 3
|
||||||
|
|
||||||
|
Setting up a new persistent cloud host:
|
||||||
|
1. select an ip:
|
||||||
|
source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
|
||||||
|
euca-describe-addresses
|
||||||
|
- pick an ip from the list that is not assigned anywhere
|
||||||
|
- add it into dns - normally in the cloud.fedoraproject.org but it doesn't
|
||||||
|
have to be
|
||||||
|
|
||||||
|
2. If needed create a persistent storage disk for the instance:
|
||||||
|
source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
|
||||||
|
euca-create-volume -z nova -s <size in gigabytes>
|
||||||
|
|
||||||
|
|
||||||
|
3. set up the host/ip in ansible host inventory
|
||||||
|
- add to ansible/inventory/inventory under [persistent-cloud]
|
||||||
|
- either the ip itself or the hostname you want to refer to it as
|
||||||
|
|
||||||
|
4. setup the host_vars
|
||||||
|
- create file named by the hostname or ip you used in the inventory
|
||||||
|
- for adding persistent volumes add an entry like this into the host_vars file
|
||||||
|
|
||||||
|
volumes: ['-d /dev/vdb vol-BCA33FCD', '-d /dev/vdc vol-DC833F48']
|
||||||
|
|
||||||
|
for each volume you want to attach to the instance.
|
||||||
|
|
||||||
|
The device names matter - they start at /dev/vdb and increment. However,
|
||||||
|
they are not reliable IN the instance. You should find the device, partition
|
||||||
|
it, format it and label the formatted device then mount the device by label
|
||||||
|
or by UUID. Do not count on the device name being the same each time.
|
||||||
|
|
||||||
|
|
||||||
|
Contents should look like this (remove all the comments)
|
||||||
|
|
||||||
|
---
|
||||||
|
# 2cpus, 3GB of ram 20GB of ephemeral space
|
||||||
|
instance_type: m1.large
|
||||||
|
# image id
|
||||||
|
image: emi-B8793915
|
||||||
|
keypair: fedora-admin
|
||||||
|
# what security group to add the host to
|
||||||
|
security_group: webserver
|
||||||
|
zone: fedoracloud
|
||||||
|
# instance id will be appended
|
||||||
|
hostbase: hostname_base-
|
||||||
|
# ip should be in the 209.132.184.XXX range
|
||||||
|
public_ip: $ip_you_selected
|
||||||
|
# users/groups who should have root ssh access
|
||||||
|
root_auth_users: skvidal bkabrda
|
||||||
|
description: some description so someone else can know what this is
|
||||||
|
|
||||||
|
The available images can be found by running::
|
||||||
|
source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
|
||||||
|
euca-describe-images | grep emi
|
||||||
|
|
||||||
|
4. setup a host playbook ansible/playbooks/hosts/$YOUR_HOSTNAME_HERE.yml
|
||||||
|
Note: the name of this file doesn't really matter but it should normally
|
||||||
|
be the hostname of the host you're setting up.
|
||||||
|
|
||||||
|
- name: check/create instance
|
||||||
|
hosts: $YOUR_HOSTNAME/IP HERE
|
||||||
|
user: root
|
||||||
|
gather_facts: False
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- ${private}/vars.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- include: $tasks/persistent_cloud.yml
|
||||||
|
|
||||||
|
- name: provision instance
|
||||||
|
hosts: $YOUR_HOSTNAME/IP HERE
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- ${private}/vars.yml
|
||||||
|
- ${vars}/${ansible_distribution}.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- include: $tasks/cloud_setup_basic.yml
|
||||||
|
# fill in other actions/includes/etc here
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- include: $handlers/restart_services.yml
|
||||||
|
|
||||||
|
|
||||||
|
5. add/commit the above to the git repo and push your changes
|
||||||
|
|
||||||
|
|
||||||
|
6. set it up:
|
||||||
|
sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/hosts/$YOUR_HOSTNAME_HERE.yml
|
||||||
|
|
||||||
|
7. login, etc
|
||||||
|
|
||||||
|
You should be able to run that playbook over and over again safely, it will
|
||||||
|
only setup/create a new instance if the ip is not up/responding.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SECURITY GROUPS
|
||||||
|
- to edit security groups you must either have your own cloud account or
|
||||||
|
be a member of sysadmin-main
|
||||||
|
|
||||||
|
This gives you the credential to change things in the persistent tenant
|
||||||
|
- source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
|
||||||
|
|
||||||
|
|
||||||
|
This lists all security groups in that tenant:
|
||||||
|
- euca-describe-groups | grep GROUP
|
||||||
|
|
||||||
|
the output will look like this:
|
||||||
|
euca-describe-groups | grep GROU
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e default default
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e jenkins jenkins instance group
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e logstash logstash security group
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e smtpserver list server group. needs web and smtp
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e webserver webserver security group
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e wideopen wideopen
|
||||||
|
|
||||||
|
|
||||||
|
This lets you list the rules in a specific group:
|
||||||
|
- euca-describe-group groupname
|
||||||
|
|
||||||
|
the output will look like this:
|
||||||
|
|
||||||
|
euca-describe-group wideopen
|
||||||
|
GROUP d4e664a10e2c4210839150be09c46e5e wideopen wideopen
|
||||||
|
PERMISSION d4e664a10e2c4210839150be09c46e5e wideopen ALLOWS tcp 1 65535 FROM CIDR 0.0.0.0/0
|
||||||
|
PERMISSION d4e664a10e2c4210839150be09c46e5e wideopen ALLOWS icmp -1 -1 FROM CIDR 0.0.0.0/0
|
||||||
|
|
||||||
|
|
||||||
|
To create a new group:
|
||||||
|
euca-create-group -d "group description here" groupname
|
||||||
|
|
||||||
|
To add a rule to a group:
|
||||||
|
euca-authorize -P tcp -p 22 groupname
|
||||||
|
|
||||||
|
To delete a rule from a group:
|
||||||
|
euca-revoke -P tcp -p 22 groupname
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
- Be careful removing or adding rules to existing groups b/c you could be
|
||||||
|
impacting other instances using that security group.
|
||||||
|
|
||||||
|
- You will almost always want to allow 22/tcp (sshd) and icmp -1 -1 (ping
|
||||||
|
and traceroute and friends).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TERMINATING INSTANCES
|
||||||
|
|
||||||
|
For transient:
|
||||||
|
1. source /srv/private/ansible/files/openstack/transient-admin/ec2rc.sh
|
||||||
|
|
||||||
|
- OR -
|
||||||
|
|
||||||
|
For persistent:
|
||||||
|
1. source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
|
||||||
|
|
||||||
|
2. euca-describe-instances | grep <ip of your instance>
|
||||||
|
|
||||||
|
3. euca-terminate-instances <the id, something like i-00000295>
|
||||||
|
|
143
README.md
143
README.md
|
@ -1,143 +0,0 @@
|
||||||
Fedora Infrastructure
|
|
||||||
=====================
|
|
||||||
|
|
||||||
Welcome! This is the Fedora Infrastructure Ansible Pagure project.
|
|
||||||
|
|
||||||
Pull requests and forks can be made against this repository hosted
|
|
||||||
at https://pagure.io/fedora-infra/ansible
|
|
||||||
|
|
||||||
This repository is also mirrored for production runs to
|
|
||||||
https://infrastructure.fedoraproject.org/infra/ansible/
|
|
||||||
but this is the working repository where changes are made.
|
|
||||||
|
|
||||||
If you would like to help out with Fedora Infrastructure, see:
|
|
||||||
|
|
||||||
* https://docs.fedoraproject.org/en-US/infra/gettingstarted/
|
|
||||||
* https://docs.fedoraproject.org/en-US/infra/apprentice/
|
|
||||||
|
|
||||||
Ansible repository/structure
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
```
|
|
||||||
files - files and templates for use in playbooks/tasks
|
|
||||||
- subdirs for specific tasks/dirs highly recommended
|
|
||||||
|
|
||||||
inventory - where the inventory and additional vars is stored
|
|
||||||
- All files in this directory in ini format
|
|
||||||
- added together for total inventory
|
|
||||||
group_vars:
|
|
||||||
- per group variables set here in a file per group
|
|
||||||
host_vars:
|
|
||||||
- per host variables set here in a file per host
|
|
||||||
|
|
||||||
library - library of custom local ansible modules
|
|
||||||
|
|
||||||
playbooks - collections of plays we want to run on systems
|
|
||||||
|
|
||||||
groups: groups of hosts configured from one playbook.
|
|
||||||
|
|
||||||
hosts: playbooks for single hosts.
|
|
||||||
|
|
||||||
manual: playbooks that are only run manually by an admin as needed.
|
|
||||||
|
|
||||||
tasks - snippets of tasks that should be included in plays
|
|
||||||
|
|
||||||
roles - specific roles to be use in playbooks.
|
|
||||||
Each role has it's own files/templates/vars
|
|
||||||
|
|
||||||
filter_plugins - Jinja filters
|
|
||||||
|
|
||||||
main.yml - This is the main playbook, consisting of all
|
|
||||||
current group and host playbooks. Note that the
|
|
||||||
daily cron doesn't run this, it runs even over
|
|
||||||
playbooks that are not yet included in main.
|
|
||||||
This playbook is usefull for making changes over
|
|
||||||
multiple groups/hosts usually with -t (tag).
|
|
||||||
```
|
|
||||||
|
|
||||||
Paths
|
|
||||||
-----
|
|
||||||
|
|
||||||
The public path on batcave01 (our control host) for everything is `/srv/web/infra/ansible`
|
|
||||||
|
|
||||||
The private path on batcave01 (our control host) (which is sysadmin-main accessible only)
|
|
||||||
is `/srv/private/ansible`
|
|
||||||
|
|
||||||
In general to run any ansible playbook you will want to run:
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo -i ansible-playbook /path/to/playbook.yml
|
|
||||||
```
|
|
||||||
|
|
||||||
(On batcave01, our control host)
|
|
||||||
|
|
||||||
Scheduled check-diff
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
Every night a cron job runs over all playbooks under `playbooks/{groups}{hosts}`
|
|
||||||
with `ansible --check --diff`. A report from this is sent to sysadmin-logs.
|
|
||||||
In the ideal state this report would be empty.
|
|
||||||
|
|
||||||
Idempotency
|
|
||||||
-----------
|
|
||||||
|
|
||||||
All playbooks should be idempotent. Ie, if run once they should bring the
|
|
||||||
machine(s) to the desired state, and if run again N times after that they should
|
|
||||||
make 0 changes (because the machine(s) are in the desired state).
|
|
||||||
Please make sure your playbooks are idempotent.
|
|
||||||
|
|
||||||
Can be run anytime
|
|
||||||
------------------
|
|
||||||
|
|
||||||
When a playbook or change is checked into ansible you should assume
|
|
||||||
that it could be run at ***ANY TIME***. Always make sure the checked in state
|
|
||||||
is the desired state. Always test changes when they land so they don't
|
|
||||||
surprise you later.
|
|
||||||
|
|
||||||
Contributing and Licensing
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
Contributions to this repository are subject to the Fedora Project
|
|
||||||
Contributor Agreement. If no license is specified, the MIT license is used, otherwise
|
|
||||||
the contribution is under the specified acceptable Fedora License.
|
|
||||||
See https://docs.fedoraproject.org/en-US/legal/fpca/
|
|
||||||
for more information.
|
|
||||||
|
|
||||||
Contributing Pull Requests
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
If found a way to improve this repository or fix an issue found in our
|
|
||||||
infrastructure tracker (see https://pagure.io/fedora-infrastructure/issues)
|
|
||||||
open a pull-request.
|
|
||||||
|
|
||||||
You either should have capability to run the playbooks after they have been reviewed,
|
|
||||||
and merged or find the person responsible and work with them to make sure the changes
|
|
||||||
will be aplied afterwards.
|
|
||||||
|
|
||||||
We are currently working on a simple to use list of Point Of Contanct people for the applications
|
|
||||||
here, untill it is done, you can, look at people that recently edited the ansible files,
|
|
||||||
or if you belong to sysadmin group, view the /etc/ansible_utils/rbac.yaml located on batcave01,
|
|
||||||
where you can see the groups of people that have capabilities to run the relevant playbooks.
|
|
||||||
|
|
||||||
For example, to upgrade Release Monitoring, you need to run playbook openshift-apps/release-monitoring.yaml.
|
|
||||||
People in sysadmin-releasemonitoring have that capability, and you cand find the members in https://accounts.fedoraproject.org/group/sysadmin-releasemonitoring/
|
|
||||||
|
|
||||||
If the application in question is not on the critical path it should be sufficient,
|
|
||||||
if person responsible for the application reviews the PR.
|
|
||||||
|
|
||||||
If the files in question are on the critical path, that are necessary for functioning packager workflow,
|
|
||||||
at least two different people should review the PR.
|
|
||||||
|
|
||||||
If there is any risk at all, that the application of the changes would induce downtime,
|
|
||||||
work closely with other to ensure that the downtime is properly scheduled:
|
|
||||||
|
|
||||||
- there is an issue in https://pagure.io/fedora-infrastructure/issues specifying the downtime
|
|
||||||
- there is an email sent to the devel-list
|
|
||||||
- https://status.fedoraproject.org is updated (see https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/status-fedora/)
|
|
||||||
|
|
||||||
Applications on critical path: pagure, mirrormanager, toddlers, bodhi, noggin, mdapi, rpmautospec,
|
|
||||||
pagure-dist-git, mirror_from_pagure, fedora-messaging, dist-git, PDC/FPDC, FMN, sigul
|
|
||||||
robosignatory, tag2distrepo, ci-resultsdb-listener, stylo, mirrorlist
|
|
||||||
resultsdb, Nagios, koschei, wiki / mediawiki, wiki / moin, waiverdb,
|
|
||||||
greenwave, ODCS, Mailman3 / HK, mailman 2, OSBS, pungi, koji, MBS,
|
|
||||||
IPA, rabbitmq, geoip,ipsilon
|
|
20
STYLEGUIDE
20
STYLEGUIDE
|
@ -1,20 +0,0 @@
|
||||||
infrastructure ansible style guide
|
|
||||||
==================================
|
|
||||||
|
|
||||||
* Use 'yml' instead of 'yaml'
|
|
||||||
|
|
||||||
* do add '.j2' to the end of templates
|
|
||||||
|
|
||||||
* in general let readablity trump grepability, i.e.:
|
|
||||||
|
|
||||||
DONT:
|
|
||||||
- name: This is some play
|
|
||||||
module: name=thing arg=thing2 anotherlongerarg=thing arg4=anodheranth
|
|
||||||
|
|
||||||
DO:
|
|
||||||
- name: This is some play
|
|
||||||
module:
|
|
||||||
- name: thing
|
|
||||||
- arg: thing2
|
|
||||||
..etc
|
|
||||||
|
|
17
TODO
Normal file
17
TODO
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
- make it easy to run playbooks against cloud instances w/o modifying
|
||||||
|
inventory or changing host entries in playbooks
|
||||||
|
|
||||||
|
- define standards for:
|
||||||
|
- playbook naming
|
||||||
|
- play naming
|
||||||
|
- hosts or service or groups for talking to sets of systems
|
||||||
|
- tags:
|
||||||
|
- config
|
||||||
|
- service
|
||||||
|
- initonly
|
||||||
|
|
||||||
|
- figure out how and where we are going to run these from cron
|
||||||
|
|
||||||
|
- merge in tasks/playbooks/inventory/etc from:
|
||||||
|
- builders
|
||||||
|
|
|
@ -1,137 +0,0 @@
|
||||||
# (C) 2012, Michael DeHaan, <michael.dehaan@gmail.com>
|
|
||||||
# based on the log_plays example
|
|
||||||
# skvidal@fedoraproject.org
|
|
||||||
# rbean@redhat.com
|
|
||||||
# karsten@redhat.com changes for fedora-messaging
|
|
||||||
# abompard@redhat.com changes to adapt to ansible's specific python
|
|
||||||
|
|
||||||
# Ansible is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# Ansible is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
import json
|
|
||||||
import logging
|
|
||||||
import os
|
|
||||||
import pwd
|
|
||||||
import uuid
|
|
||||||
from subprocess import run, PIPE, STDOUT
|
|
||||||
from tempfile import NamedTemporaryFile
|
|
||||||
|
|
||||||
try:
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
|
||||||
except ImportError:
|
|
||||||
# Ansible v1 compat
|
|
||||||
CallbackBase = object
|
|
||||||
|
|
||||||
try:
|
|
||||||
from ansible.utils.hashing import secure_hash
|
|
||||||
except ImportError:
|
|
||||||
from ansible.utils import md5 as secure_hash
|
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
|
||||||
FEDORA_MESSAGING_CONF = "/etc/fedora-messaging/batcave-messaging.toml"
|
|
||||||
|
|
||||||
|
|
||||||
def getlogin():
|
|
||||||
try:
|
|
||||||
user = os.getlogin()
|
|
||||||
except OSError:
|
|
||||||
user = pwd.getpwuid(os.geteuid())[0]
|
|
||||||
return user
|
|
||||||
|
|
||||||
|
|
||||||
def send_message(msg):
|
|
||||||
msg["id"] = str(uuid.uuid4())
|
|
||||||
msg["headers"] = {
|
|
||||||
"fedora_messaging_schema": "base.message",
|
|
||||||
"fedora_messaging_severity": 20,
|
|
||||||
}
|
|
||||||
env = os.environ.copy()
|
|
||||||
env["FEDORA_MESSAGING_CONF"] = FEDORA_MESSAGING_CONF
|
|
||||||
with NamedTemporaryFile(mode="w+", buffering=1) as msg_file:
|
|
||||||
json.dump(msg, msg_file)
|
|
||||||
msg_file.write("\n")
|
|
||||||
result = run(
|
|
||||||
["fedora-messaging", "publish", msg_file.name],
|
|
||||||
stdout=PIPE, stderr=STDOUT, text=True, env=env,
|
|
||||||
)
|
|
||||||
if result.returncode > 0:
|
|
||||||
LOGGER.warning(f"Fedora Messaging plugin failed: {result.stdout}")
|
|
||||||
print(f"Fedora Messaging plugin failed: {result.stdout}")
|
|
||||||
|
|
||||||
|
|
||||||
class CallbackModule(CallbackBase):
|
|
||||||
""" Publish playbook starts and stops to fedora_messaging. """
|
|
||||||
|
|
||||||
CALLBACK_NAME = "fedora_messaging_callback"
|
|
||||||
CALLBACK_TYPE = "notification"
|
|
||||||
CALLBACK_VERSION = 2.0
|
|
||||||
CALLBACK_NEEDS_WHITELIST = True
|
|
||||||
|
|
||||||
playbook_path = None
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
self.play = None
|
|
||||||
self.playbook = None
|
|
||||||
|
|
||||||
super(CallbackModule, self).__init__()
|
|
||||||
|
|
||||||
def set_play_context(self, play_context):
|
|
||||||
self.play_context = play_context
|
|
||||||
|
|
||||||
def v2_playbook_on_start(self, playbook):
|
|
||||||
self.playbook = playbook
|
|
||||||
|
|
||||||
def v2_playbook_on_play_start(self, play):
|
|
||||||
# This gets called once for each play.. but we just issue a message once
|
|
||||||
# for the first one. One per "playbook"
|
|
||||||
if not self.playbook:
|
|
||||||
return
|
|
||||||
# figure out where the playbook FILE is
|
|
||||||
path = os.path.abspath(self.playbook._file_name)
|
|
||||||
|
|
||||||
# Bail out early without publishing if we're in --check mode
|
|
||||||
if self.play_context.check_mode:
|
|
||||||
return
|
|
||||||
|
|
||||||
# Only publish on playbook start
|
|
||||||
if self.playbook_path:
|
|
||||||
return
|
|
||||||
|
|
||||||
msg = {
|
|
||||||
"topic": "ansible.playbook.start",
|
|
||||||
"body": {
|
|
||||||
'playbook': path,
|
|
||||||
'userid': getlogin(),
|
|
||||||
'extra_vars': play._variable_manager.extra_vars,
|
|
||||||
'inventory': play._variable_manager._inventory._sources,
|
|
||||||
'playbook_checksum': secure_hash(path),
|
|
||||||
'check': self.play_context.check_mode
|
|
||||||
},
|
|
||||||
}
|
|
||||||
send_message(msg)
|
|
||||||
self.playbook_path = path
|
|
||||||
|
|
||||||
def v2_playbook_on_stats(self, stats):
|
|
||||||
if not self.playbook_path:
|
|
||||||
return
|
|
||||||
|
|
||||||
results = dict([(h, stats.summarize(h)) for h in stats.processed])
|
|
||||||
msg = {
|
|
||||||
"topic": "ansible.playbook.complete",
|
|
||||||
"body": {
|
|
||||||
'playbook': self.playbook_path,
|
|
||||||
'userid': getlogin(),
|
|
||||||
'results': results
|
|
||||||
},
|
|
||||||
}
|
|
||||||
send_message(msg)
|
|
|
@ -15,68 +15,37 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Make coding more python3-ish
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
|
||||||
__metaclass__ = type
|
|
||||||
|
|
||||||
DOCUMENTATION = r'''
|
|
||||||
callback: logdetail
|
|
||||||
callback_type: notification
|
|
||||||
short_description: Logs playbook results, per date, playbook and host.
|
|
||||||
description: Logs playbook results, per date, playbook and host, in I(log_path).
|
|
||||||
options:
|
|
||||||
log_path:
|
|
||||||
description: The path where log files will be created.
|
|
||||||
default: /var/log/ansible
|
|
||||||
ini:
|
|
||||||
- section: callback_logdetail
|
|
||||||
key: log_path
|
|
||||||
env:
|
|
||||||
- name: ANSIBLE_LOGDETAIL_PATH
|
|
||||||
'''
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import pwd
|
import pwd
|
||||||
import gzip
|
from ansible import utils
|
||||||
|
|
||||||
try:
|
TIME_FORMAT="%b %d %Y %H:%M:%S"
|
||||||
from ansible.utils.hashing import secure_hash
|
|
||||||
except ImportError:
|
|
||||||
from ansible.utils import md5 as secure_hash
|
|
||||||
|
|
||||||
try:
|
MSG_FORMAT="%(now)s\t%(count)s\t%(category)s\t%(name)s\t%(data)s\n"
|
||||||
from ansible.plugins.callback import CallbackBase
|
|
||||||
except ImportError:
|
|
||||||
# Ansible v1 compat
|
|
||||||
CallbackBase = object
|
|
||||||
|
|
||||||
TIME_FORMAT = "%b %d %Y %H:%M:%S"
|
|
||||||
|
|
||||||
MSG_FORMAT = "%(now)s\t%(count)s\t%(category)s\t%(name)s\t%(data)s\n"
|
|
||||||
|
|
||||||
|
LOG_PATH = '/var/log/ansible'
|
||||||
|
|
||||||
def getlogin():
|
def getlogin():
|
||||||
try:
|
try:
|
||||||
user = os.getlogin()
|
user = os.getlogin()
|
||||||
except OSError:
|
except OSError, e:
|
||||||
user = pwd.getpwuid(os.geteuid())[0]
|
user = pwd.getpwuid(os.geteuid())[0]
|
||||||
return user
|
return user
|
||||||
|
|
||||||
|
|
||||||
class LogMech(object):
|
class LogMech(object):
|
||||||
def __init__(self, logpath):
|
def __init__(self):
|
||||||
self.started = time.time()
|
self.started = time.time()
|
||||||
self.pid = str(os.getpid())
|
self.pid = str(os.getpid())
|
||||||
self._pb_fn = None
|
self._pb_fn = None
|
||||||
self._last_task_start = None
|
self._last_task_start = None
|
||||||
self.play_info = {}
|
self.play_info = {}
|
||||||
self.logpath = logpath
|
self.logpath = LOG_PATH
|
||||||
if not os.path.exists(self.logpath):
|
if not os.path.exists(self.logpath):
|
||||||
try:
|
try:
|
||||||
os.makedirs(self.logpath, mode=0o750)
|
os.makedirs(self.logpath, mode=0750)
|
||||||
except OSError as e:
|
except OSError, e:
|
||||||
if e.errno != 17:
|
if e.errno != 17:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
@ -102,7 +71,7 @@ class LogMech(object):
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
try:
|
try:
|
||||||
os.makedirs(path)
|
os.makedirs(path)
|
||||||
except OSError as e:
|
except OSError, e:
|
||||||
if e.errno != 17: # if it is not dir exists then raise it up
|
if e.errno != 17: # if it is not dir exists then raise it up
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
@ -119,12 +88,12 @@ class LogMech(object):
|
||||||
def task_to_json(self, task):
|
def task_to_json(self, task):
|
||||||
res = {}
|
res = {}
|
||||||
res['task_name'] = task.name
|
res['task_name'] = task.name
|
||||||
res['task_module'] = task.action
|
res['task_module'] = task.module_name
|
||||||
res['task_args'] = task.args
|
res['task_args'] = task.module_args
|
||||||
if self.playbook_id == 'ansible-cmd':
|
if self.playbook_id == 'ansible-cmd':
|
||||||
res['task_userid'] = getlogin()
|
res['task_userid'] = getlogin()
|
||||||
for k in ("delegate_to", "environment", "with_first_found",
|
for k in ("delegate_to", "environment", "first_available_file",
|
||||||
"local_action", "notified_by", "notify",
|
"local_action", "notified_by", "notify", "only_if",
|
||||||
"register", "sudo", "sudo_user", "tags",
|
"register", "sudo", "sudo_user", "tags",
|
||||||
"transport", "when"):
|
"transport", "when"):
|
||||||
v = getattr(task, k, None)
|
v = getattr(task, k, None)
|
||||||
|
@ -138,21 +107,22 @@ class LogMech(object):
|
||||||
host = 'HOSTMISSING'
|
host = 'HOSTMISSING'
|
||||||
|
|
||||||
if type(data) == dict:
|
if type(data) == dict:
|
||||||
name = data.get('module_name', None)
|
name = data.get('module_name',None)
|
||||||
else:
|
else:
|
||||||
name = "unknown"
|
name = "unknown"
|
||||||
|
|
||||||
|
|
||||||
# we're in setup - move the invocation info up one level
|
# we're in setup - move the invocation info up one level
|
||||||
if 'invocation' in data:
|
if 'invocation' in data:
|
||||||
invoc = data['invocation']
|
invoc = data['invocation']
|
||||||
if not name and 'module_name' in invoc:
|
if not name and 'module_name' in invoc:
|
||||||
name = invoc['module_name']
|
name = invoc['module_name']
|
||||||
|
|
||||||
# don't add this since it can often contain complete passwords :(
|
#don't add this since it can often contain complete passwords :(
|
||||||
del(data['invocation'])
|
del(data['invocation'])
|
||||||
|
|
||||||
if task:
|
if task:
|
||||||
name = task._name
|
name = task.name
|
||||||
data['task_start'] = self._last_task_start
|
data['task_start'] = self._last_task_start
|
||||||
data['task_end'] = time.time()
|
data['task_end'] = time.time()
|
||||||
data.update(self.task_to_json(task))
|
data.update(self.task_to_json(task))
|
||||||
|
@ -163,101 +133,119 @@ class LogMech(object):
|
||||||
if category == 'OK' and data.get('changed', False):
|
if category == 'OK' and data.get('changed', False):
|
||||||
category = 'CHANGED'
|
category = 'CHANGED'
|
||||||
|
|
||||||
if self.play_info.get('check', False) and self.play_info.get('diff', False):
|
if self.play_info.get('check', False):
|
||||||
category = 'CHECK_DIFF:' + category
|
|
||||||
elif self.play_info.get('check', False):
|
|
||||||
category = 'CHECK:' + category
|
category = 'CHECK:' + category
|
||||||
|
|
||||||
# Sometimes this is None.. othertimes it's fine. Othertimes it has
|
fd = open(self.logpath_play + '/' + host + '.log', 'a')
|
||||||
# trailing whitespace that kills logview. Strip that, when possible.
|
|
||||||
if name:
|
|
||||||
name = name.strip()
|
|
||||||
|
|
||||||
sanitize_host = host.replace(' ', '_').replace('>', '-')
|
|
||||||
fd = gzip.open(self.logpath_play + '/' + sanitize_host + '.log.gz', 'at')
|
|
||||||
now = time.strftime(TIME_FORMAT, time.localtime())
|
now = time.strftime(TIME_FORMAT, time.localtime())
|
||||||
fd.write(MSG_FORMAT % dict(now=now, name=name, count=count, category=category, data=json.dumps(data)))
|
fd.write(MSG_FORMAT % dict(now=now, name=name, count=count, category=category, data=json.dumps(data)))
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
|
|
||||||
class CallbackModule(CallbackBase):
|
logmech = LogMech()
|
||||||
|
|
||||||
|
class CallbackModule(object):
|
||||||
"""
|
"""
|
||||||
logs playbook results, per host, in /var/log/ansible/hosts
|
logs playbook results, per host, in /var/log/ansible/hosts
|
||||||
"""
|
"""
|
||||||
CALLBACK_NAME = 'logdetail'
|
|
||||||
CALLBACK_TYPE = 'notification'
|
|
||||||
CALLBACK_VERSION = 2.0
|
|
||||||
CALLBACK_NEEDS_WHITELIST = True
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._task_count = 0
|
self._task_count = 0
|
||||||
self._play_count = 0
|
self._play_count = 0
|
||||||
self.task = None
|
|
||||||
self.playbook = None
|
|
||||||
|
|
||||||
super(CallbackModule, self).__init__()
|
def on_any(self, *args, **kwargs):
|
||||||
self.set_options()
|
pass
|
||||||
self.logmech = LogMech(self.get_option('log_path'))
|
|
||||||
|
|
||||||
def set_play_context(self, play_context):
|
|
||||||
self.play_context = play_context
|
|
||||||
|
|
||||||
def v2_runner_on_failed(self, result, ignore_errors=False):
|
def runner_on_failed(self, host, res, ignore_errors=False):
|
||||||
category = 'FAILED'
|
category = 'FAILED'
|
||||||
self.logmech.log(result._host.get_name(), category, result._result, self.task, self._task_count)
|
task = getattr(self,'task', None)
|
||||||
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
def v2_runner_on_ok(self, result):
|
|
||||||
|
def runner_on_ok(self, host, res):
|
||||||
category = 'OK'
|
category = 'OK'
|
||||||
self.logmech.log(result._host.get_name(), category, result._result, self.task, self._task_count)
|
task = getattr(self,'task', None)
|
||||||
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
def v2_runner_on_skipped(self, result):
|
|
||||||
|
def runner_on_error(self, host, res):
|
||||||
|
category = 'ERROR'
|
||||||
|
task = getattr(self,'task', None)
|
||||||
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
|
def runner_on_skipped(self, host, item=None):
|
||||||
category = 'SKIPPED'
|
category = 'SKIPPED'
|
||||||
|
task = getattr(self,'task', None)
|
||||||
res = {}
|
res = {}
|
||||||
res['item'] = self._get_item_label(getattr(result._result, 'results', {}))
|
res['item'] = item
|
||||||
self.logmech.log(result._host.get_name(), category, res, self.task, self._task_count)
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
def v2_runner_on_unreachable(self, result):
|
def runner_on_unreachable(self, host, output):
|
||||||
category = 'UNREACHABLE'
|
category = 'UNREACHABLE'
|
||||||
|
task = getattr(self,'task', None)
|
||||||
res = {}
|
res = {}
|
||||||
res['output'] = result._result
|
res['output'] = output
|
||||||
self.logmech.log(result._host.get_name(), category, res, self.task, self._task_count)
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
def v2_runner_on_async_failed(self, result):
|
def runner_on_no_hosts(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def runner_on_async_poll(self, host, res, jid, clock):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def runner_on_async_ok(self, host, res, jid):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def runner_on_async_failed(self, host, res, jid):
|
||||||
category = 'ASYNC_FAILED'
|
category = 'ASYNC_FAILED'
|
||||||
self.logmech.log(result._host.get_name(), category, result._result, self.task, self._task_count)
|
task = getattr(self,'task', None)
|
||||||
|
logmech.log(host, category, res, task, self._task_count)
|
||||||
|
|
||||||
def v2_playbook_on_start(self, playbook):
|
def playbook_on_start(self):
|
||||||
self.playbook = playbook
|
pass
|
||||||
|
|
||||||
def v2_playbook_on_task_start(self, task, is_conditional):
|
def playbook_on_notify(self, host, handler):
|
||||||
self.task = task
|
pass
|
||||||
if self.task:
|
|
||||||
self.task._name = task.get_name().strip()
|
def playbook_on_no_hosts_matched(self):
|
||||||
self.logmech._last_task_start = time.time()
|
pass
|
||||||
|
|
||||||
|
def playbook_on_no_hosts_remaining(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def playbook_on_task_start(self, name, is_conditional):
|
||||||
|
logmech._last_task_start = time.time()
|
||||||
self._task_count += 1
|
self._task_count += 1
|
||||||
|
|
||||||
def v2_playbook_on_setup(self):
|
def playbook_on_vars_prompt(self, varname, private=True, prompt=None, encrypt=None, confirm=False, salt_size=None, salt=None, default=None):
|
||||||
self._task_count += 1
|
pass
|
||||||
|
|
||||||
def v2_playbook_on_import_for_host(self, result, imported_file):
|
def playbook_on_setup(self):
|
||||||
|
self._task_count += 1
|
||||||
|
pass
|
||||||
|
|
||||||
|
def playbook_on_import_for_host(self, host, imported_file):
|
||||||
|
task = getattr(self,'task', None)
|
||||||
res = {}
|
res = {}
|
||||||
res['imported_file'] = imported_file
|
res['imported_file'] = imported_file
|
||||||
self.logmech.log(result._host.get_name(), 'IMPORTED', res, self.task)
|
logmech.log(host, 'IMPORTED', res, task)
|
||||||
|
|
||||||
def v2_playbook_on_not_import_for_host(self, result, missing_file):
|
def playbook_on_not_import_for_host(self, host, missing_file):
|
||||||
|
task = getattr(self,'task', None)
|
||||||
res = {}
|
res = {}
|
||||||
res['missing_file'] = missing_file
|
res['missing_file'] = missing_file
|
||||||
self.logmech.log(result._host.get_name(), 'NOTIMPORTED', res, self.task)
|
logmech.log(host, 'NOTIMPORTED', res, task)
|
||||||
|
|
||||||
def v2_playbook_on_play_start(self, play):
|
def playbook_on_play_start(self, pattern):
|
||||||
self._task_count = 0
|
self._task_count = 0
|
||||||
|
|
||||||
|
play = getattr(self, 'play', None)
|
||||||
if play:
|
if play:
|
||||||
# figure out where the playbook FILE is
|
# figure out where the playbook FILE is
|
||||||
path = os.path.abspath(self.playbook._file_name)
|
path = os.path.abspath(play.playbook.filename)
|
||||||
|
|
||||||
# tel the logger what the playbook is
|
# tel the logger what the playbook is
|
||||||
self.logmech.playbook_id = path
|
logmech.playbook_id = path
|
||||||
|
|
||||||
# if play count == 0
|
# if play count == 0
|
||||||
# write out playbook info now
|
# write out playbook info now
|
||||||
|
@ -266,35 +254,31 @@ class CallbackModule(CallbackBase):
|
||||||
pb_info['playbook_start'] = time.time()
|
pb_info['playbook_start'] = time.time()
|
||||||
pb_info['playbook'] = path
|
pb_info['playbook'] = path
|
||||||
pb_info['userid'] = getlogin()
|
pb_info['userid'] = getlogin()
|
||||||
pb_info['extra_vars'] = play._variable_manager.extra_vars
|
pb_info['extra_vars'] = play.playbook.extra_vars
|
||||||
pb_info['inventory'] = play._variable_manager._inventory._sources
|
pb_info['inventory'] = play.playbook.inventory.host_list
|
||||||
pb_info['playbook_checksum'] = secure_hash(path)
|
pb_info['playbook_checksum'] = utils.md5(path)
|
||||||
if hasattr(self, "play_context"):
|
pb_info['check'] = play.playbook.check
|
||||||
pb_info['check'] = self.play_context.check_mode
|
logmech.play_log(json.dumps(pb_info, indent=4))
|
||||||
pb_info['diff'] = self.play_context.diff
|
|
||||||
self.logmech.play_log(json.dumps(pb_info, indent=4))
|
|
||||||
|
|
||||||
self._play_count += 1
|
self._play_count += 1
|
||||||
# then write per-play info that doesn't duplcate the playbook info
|
# then write per-play info that doesn't duplcate the playbook info
|
||||||
info = {}
|
info = {}
|
||||||
info['play'] = play.name
|
info['play'] = play.name
|
||||||
info['hosts'] = play.hosts
|
info['hosts'] = play.hosts
|
||||||
|
info['transport'] = play.transport
|
||||||
info['number'] = self._play_count
|
info['number'] = self._play_count
|
||||||
if hasattr(self, "play_context"):
|
info['check'] = play.playbook.check
|
||||||
info['transport'] = str(self.play_context.connection)
|
logmech.play_info = info
|
||||||
info['check'] = self.play_context.check_mode
|
logmech.play_log(json.dumps(info, indent=4))
|
||||||
info['diff'] = self.play_context.diff
|
|
||||||
self.logmech.play_info = info
|
|
||||||
try:
|
|
||||||
self.logmech.play_log(json.dumps(info, indent=4))
|
|
||||||
except TypeError:
|
|
||||||
print(("Failed to conver to JSON:", info))
|
|
||||||
|
|
||||||
def v2_playbook_on_stats(self, stats):
|
|
||||||
|
def playbook_on_stats(self, stats):
|
||||||
results = {}
|
results = {}
|
||||||
for host in list(stats.processed.keys()):
|
for host in stats.processed.keys():
|
||||||
results[host] = stats.summarize(host)
|
results[host] = stats.summarize(host)
|
||||||
self.logmech.log(host, 'STATS', results[host])
|
logmech.log(host, 'STATS', results[host])
|
||||||
self.logmech.play_log(json.dumps({'stats': results}, indent=4))
|
logmech.play_log(json.dumps({'stats': results}, indent=4))
|
||||||
self.logmech.play_log(json.dumps({'playbook_end': time.time()}, indent=4))
|
logmech.play_log(json.dumps({'playbook_end': time.time()}, indent=4))
|
||||||
print(('logs written to: %s' % self.logmech.logpath_play))
|
print 'logs written to: %s' % logmech.logpath_play
|
||||||
|
|
||||||
|
|
||||||
|
|
21
files/2fa/pam_url.conf.fakefas01.fedoraproject.org
Normal file
21
files/2fa/pam_url.conf.fakefas01.fedoraproject.org
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
27
files/2fa/pam_url.conf.j2
Normal file
27
files/2fa/pam_url.conf.j2
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
pam_url:
|
||||||
|
{
|
||||||
|
settings:
|
||||||
|
{
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch
|
||||||
|
{% elif datacenter == 'phx2' %}
|
||||||
|
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
|
||||||
|
{% else %}
|
||||||
|
url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch
|
||||||
|
{% endif %}
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
21
files/2fa/pam_url.conf.stg.fedoraproject.org
Normal file
21
files/2fa/pam_url.conf.stg.fedoraproject.org
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
pam_url:
|
||||||
|
{
|
||||||
|
settings:
|
||||||
|
{
|
||||||
|
url = "https://fas-all.stg.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";
|
||||||
|
};
|
||||||
|
};
|
21
files/2fa/pam_url.conf.vpn.fedoraproject.org
Normal file
21
files/2fa/pam_url.conf.vpn.fedoraproject.org
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
pam_url:
|
||||||
|
{
|
||||||
|
settings:
|
||||||
|
{
|
||||||
|
url = "https://fas-all.vpn.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";
|
||||||
|
};
|
||||||
|
};
|
11
files/2fa/sudo.pam
Normal file
11
files/2fa/sudo.pam
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#%PAM-1.0
|
||||||
|
auth required pam_env.so
|
||||||
|
auth sufficient pam_url.so config=/etc/pam_url.conf
|
||||||
|
auth requisite pam_succeed_if.so uid >= 500 quiet
|
||||||
|
auth required pam_deny.so
|
||||||
|
|
||||||
|
auth include system-auth
|
||||||
|
account include system-auth
|
||||||
|
password include system-auth
|
||||||
|
session optional pam_keyinit.so revoke
|
||||||
|
session required pam_limits.so
|
6
files/2fa/sudo.pam.dev.fedoraproject.org
Normal file
6
files/2fa/sudo.pam.dev.fedoraproject.org
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#%PAM-1.0
|
||||||
|
auth include system-auth
|
||||||
|
account include system-auth
|
||||||
|
password include system-auth
|
||||||
|
session optional pam_keyinit.so revoke
|
||||||
|
session required pam_limits.so
|
6
files/artboard/artboard-backup
Executable file
6
files/artboard/artboard-backup
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
SNAPSHOTTIME=$(date +"%m-%d-%Y")
|
||||||
|
cd /srv/persist
|
||||||
|
echo "Snapshot taken $SNAPSHOTTIME.\n" >> /var/www/html/artboard/artboard-backup-summary.log
|
||||||
|
tar -zcvf "artboard-backup.tar.gz" artboard
|
||||||
|
|
9
files/artboard/artboard.conf
Normal file
9
files/artboard/artboard.conf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<Directory "/var/www/html/artboard">
|
||||||
|
Options Indexes FollowSymLinks
|
||||||
|
|
||||||
|
AllowOverride All
|
||||||
|
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
|
||||||
|
</Directory>
|
2
files/artboard/redirect.conf
Normal file
2
files/artboard/redirect.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
RedirectMatch "^/$" /artboard/
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor0",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"s3:PutAnalyticsConfiguration",
|
|
||||||
"s3:GetObjectVersionTagging",
|
|
||||||
"s3:CreateBucket",
|
|
||||||
"s3:ReplicateObject",
|
|
||||||
"s3:GetObjectAcl",
|
|
||||||
"s3:GetBucketObjectLockConfiguration",
|
|
||||||
"s3:DeleteBucketWebsite",
|
|
||||||
"s3:PutLifecycleConfiguration",
|
|
||||||
"s3:GetObjectVersionAcl",
|
|
||||||
"s3:HeadBucket",
|
|
||||||
"s3:DeleteObject",
|
|
||||||
"s3:GetBucketPolicyStatus",
|
|
||||||
"s3:GetObjectRetention",
|
|
||||||
"s3:GetBucketWebsite",
|
|
||||||
"s3:ListJobs",
|
|
||||||
"s3:PutReplicationConfiguration",
|
|
||||||
"s3:PutObjectLegalHold",
|
|
||||||
"s3:GetObjectLegalHold",
|
|
||||||
"s3:GetBucketNotification",
|
|
||||||
"s3:PutBucketCORS",
|
|
||||||
"s3:GetReplicationConfiguration",
|
|
||||||
"s3:ListMultipartUploadParts",
|
|
||||||
"s3:PutObject",
|
|
||||||
"s3:GetObject",
|
|
||||||
"s3:PutBucketNotification",
|
|
||||||
"s3:DescribeJob",
|
|
||||||
"s3:PutBucketLogging",
|
|
||||||
"s3:GetAnalyticsConfiguration",
|
|
||||||
"s3:PutBucketObjectLockConfiguration",
|
|
||||||
"s3:GetObjectVersionForReplication",
|
|
||||||
"s3:CreateJob",
|
|
||||||
"s3:GetLifecycleConfiguration",
|
|
||||||
"s3:ListBucketByTags",
|
|
||||||
"s3:GetInventoryConfiguration",
|
|
||||||
"s3:GetBucketTagging",
|
|
||||||
"s3:PutAccelerateConfiguration",
|
|
||||||
"s3:DeleteObjectVersion",
|
|
||||||
"s3:GetBucketLogging",
|
|
||||||
"s3:ListBucketVersions",
|
|
||||||
"s3:RestoreObject",
|
|
||||||
"s3:ListBucket",
|
|
||||||
"s3:GetAccelerateConfiguration",
|
|
||||||
"s3:GetBucketPolicy",
|
|
||||||
"s3:PutEncryptionConfiguration",
|
|
||||||
"s3:GetEncryptionConfiguration",
|
|
||||||
"s3:GetObjectVersionTorrent",
|
|
||||||
"s3:AbortMultipartUpload",
|
|
||||||
"s3:GetBucketRequestPayment",
|
|
||||||
"s3:UpdateJobPriority",
|
|
||||||
"s3:GetObjectTagging",
|
|
||||||
"s3:GetMetricsConfiguration",
|
|
||||||
"s3:DeleteBucket",
|
|
||||||
"s3:PutBucketVersioning",
|
|
||||||
"s3:GetBucketPublicAccessBlock",
|
|
||||||
"s3:ListBucketMultipartUploads",
|
|
||||||
"s3:PutMetricsConfiguration",
|
|
||||||
"s3:UpdateJobStatus",
|
|
||||||
"s3:GetBucketVersioning",
|
|
||||||
"s3:GetBucketAcl",
|
|
||||||
"s3:PutInventoryConfiguration",
|
|
||||||
"s3:GetObjectTorrent",
|
|
||||||
"s3:GetAccountPublicAccessBlock",
|
|
||||||
"s3:PutBucketWebsite",
|
|
||||||
"s3:ListAllMyBuckets",
|
|
||||||
"s3:PutBucketRequestPayment",
|
|
||||||
"s3:PutObjectRetention",
|
|
||||||
"s3:GetBucketCORS",
|
|
||||||
"s3:GetBucketLocation",
|
|
||||||
"s3:ReplicateDelete",
|
|
||||||
"s3:GetObjectVersion"
|
|
||||||
],
|
|
||||||
"Resource": "*",
|
|
||||||
"Condition": {
|
|
||||||
"IpAddress": {
|
|
||||||
"aws:SourceIp": "209.132.181.102/32"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor0",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": "s3:PutObjectAcl",
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:s3:::fcos-builds/*",
|
|
||||||
"arn:aws:s3:::fcos-builds"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor1",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": "s3:*",
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:s3:::fcos-builds/*",
|
|
||||||
"arn:aws:s3:::fcos-builds"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor0",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:ImportVolume",
|
|
||||||
"ec2:CreateTags",
|
|
||||||
"ec2:RegisterImage",
|
|
||||||
"ec2:DeregisterImage",
|
|
||||||
"ec2:CancelConversionTask",
|
|
||||||
"ec2:CreateSnapshot",
|
|
||||||
"ec2:ImportSnapshot",
|
|
||||||
"ec2:CancelImportTask",
|
|
||||||
"ec2:DeleteSnapshot",
|
|
||||||
"ec2:CopyImage",
|
|
||||||
"ec2:DescribeImageAttribute",
|
|
||||||
"ec2:ModifyImageAttribute",
|
|
||||||
"ec2:DescribeSnapshots",
|
|
||||||
"ec2:DescribeSnapshotAttribute",
|
|
||||||
"ec2:DescribeImportSnapshotTasks",
|
|
||||||
"ec2:DescribeImages",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:ModifySnapshotAttribute",
|
|
||||||
"ec2:DescribeAvailabilityZones",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeRegions",
|
|
||||||
"ec2:DescribeConversionTasks",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor1",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": "ec2:CreateTags",
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:ec2:*::snapshot/*",
|
|
||||||
"arn:aws:ec2:*::image/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,51 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "AllowDescription",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:Describe*",
|
|
||||||
"iam:PassRole",
|
|
||||||
"iam:ListInstanceProfiles",
|
|
||||||
"ec2:ImportKeyPair",
|
|
||||||
"ec2:CreateKeyPair",
|
|
||||||
"ec2:CreateSecurityGroup"
|
|
||||||
],
|
|
||||||
"Resource": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "AllowWhenOwnerOrUntagged",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:*"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEqualsIfExists": {
|
|
||||||
"ec2:ResourceTag/FedoraGroup": [
|
|
||||||
"centos"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:ec2:*:*:capacity-reservation/*",
|
|
||||||
"arn:aws:ec2:*:*:elasticGpu/*",
|
|
||||||
"arn:aws:ec2:*::fpga-image/*",
|
|
||||||
"arn:aws:ec2:*::image/*",
|
|
||||||
"arn:aws:ec2:*:*:instance/*",
|
|
||||||
"arn:aws:ec2:*:*:key-pair/*",
|
|
||||||
"arn:aws:ec2:*:*:launch-template/*",
|
|
||||||
"arn:aws:ec2:*:*:network-interface/*",
|
|
||||||
"arn:aws:ec2:*:*:placement-group/*",
|
|
||||||
"arn:aws:ec2:*:*:reserved-instances/*",
|
|
||||||
"arn:aws:ec2:*:*:security-group/*",
|
|
||||||
"arn:aws:ec2:*::snapshot/*",
|
|
||||||
"arn:aws:ec2:*::spot-instance-request/*",
|
|
||||||
"arn:aws:ec2:*:*:volume/*",
|
|
||||||
"arn:aws:ec2:*:*:subnet/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,51 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "AllowDescription",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:Describe*",
|
|
||||||
"iam:PassRole",
|
|
||||||
"iam:ListInstanceProfiles",
|
|
||||||
"ec2:ImportKeyPair",
|
|
||||||
"ec2:CreateKeyPair",
|
|
||||||
"ec2:CreateSecurityGroup"
|
|
||||||
],
|
|
||||||
"Resource": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "AllowWhenOwnerOrUntagged",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:*"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEqualsIfExists": {
|
|
||||||
"ec2:ResourceTag/FedoraGroup": [
|
|
||||||
"copr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:ec2:*:*:capacity-reservation/*",
|
|
||||||
"arn:aws:ec2:*:*:elasticGpu/*",
|
|
||||||
"arn:aws:ec2:*::fpga-image/*",
|
|
||||||
"arn:aws:ec2:*::image/*",
|
|
||||||
"arn:aws:ec2:*:*:instance/*",
|
|
||||||
"arn:aws:ec2:*:*:key-pair/*",
|
|
||||||
"arn:aws:ec2:*:*:launch-template/*",
|
|
||||||
"arn:aws:ec2:*:*:network-interface/*",
|
|
||||||
"arn:aws:ec2:*:*:placement-group/*",
|
|
||||||
"arn:aws:ec2:*:*:reserved-instances/*",
|
|
||||||
"arn:aws:ec2:*:*:security-group/*",
|
|
||||||
"arn:aws:ec2:*::snapshot/*",
|
|
||||||
"arn:aws:ec2:*::spot-instance-request/*",
|
|
||||||
"arn:aws:ec2:*:*:volume/*",
|
|
||||||
"arn:aws:ec2:*:*:subnet/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,45 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor0",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"ec2:Describe*",
|
|
||||||
"iam:PassRole",
|
|
||||||
"ec2:ImportKeyPair",
|
|
||||||
"ec2:CreateKeyPair",
|
|
||||||
"ec2:CreateSecurityGroup",
|
|
||||||
"iam:ListInstanceProfiles"
|
|
||||||
],
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "VisualEditor1",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": "ec2:*",
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:ec2:*:*:subnet/*",
|
|
||||||
"arn:aws:ec2:*:*:elasticGpu/*",
|
|
||||||
"arn:aws:ec2:*:*:reserved-instances/*",
|
|
||||||
"arn:aws:ec2:*:*:launch-template/*",
|
|
||||||
"arn:aws:ec2:*::snapshot/*",
|
|
||||||
"arn:aws:ec2:*:*:security-group/*",
|
|
||||||
"arn:aws:ec2:*:*:placement-group/*",
|
|
||||||
"arn:aws:ec2:*:*:network-interface/*",
|
|
||||||
"arn:aws:ec2:*:*:capacity-reservation/*",
|
|
||||||
"arn:aws:ec2:*:*:key-pair/*",
|
|
||||||
"arn:aws:ec2:*::spot-instance-request/*",
|
|
||||||
"arn:aws:ec2:*:*:instance/*",
|
|
||||||
"arn:aws:ec2:*:*:volume/*",
|
|
||||||
"arn:aws:ec2:*::fpga-image/*",
|
|
||||||
"arn:aws:ec2:*::image/*"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEqualsIfExists": {
|
|
||||||
"ec2:ResourceTag/FedoraGroup": "infra"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"Version": "2012-10-17",
|
|
||||||
"Statement": [
|
|
||||||
{
|
|
||||||
"Sid": "WriteToTestBucket",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"s3:GetBucketPublicAccessBlock",
|
|
||||||
"s3:PutObject",
|
|
||||||
"s3:GetObjectAcl",
|
|
||||||
"s3:GetObject",
|
|
||||||
"s3:GetBucketTagging",
|
|
||||||
"s3:GetObjectTagging",
|
|
||||||
"s3:ListBucket",
|
|
||||||
"s3:GetBucketAcl",
|
|
||||||
"s3:PutObjectAcl"
|
|
||||||
],
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:s3:::*/*",
|
|
||||||
"arn:aws:s3:::robosig-dev-fcos-builds"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Sid": "ReadFromProdBucket",
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Action": [
|
|
||||||
"s3:GetObject",
|
|
||||||
"s3:ListBucket"
|
|
||||||
],
|
|
||||||
"Resource": [
|
|
||||||
"arn:aws:s3:::*/*",
|
|
||||||
"arn:aws:s3:::fcos-builds"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
1148
files/bacula/bacula-dir.conf.j2
Normal file
1148
files/bacula/bacula-dir.conf.j2
Normal file
File diff suppressed because it is too large
Load diff
45
files/bacula/bacula-fd.conf.j2
Normal file
45
files/bacula/bacula-fd.conf.j2
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
#
|
||||||
|
# Default Bacula File Daemon Configuration file
|
||||||
|
#
|
||||||
|
# For Bacula release 2.0.3 (06 March 2007) -- redhat (Zod)
|
||||||
|
#
|
||||||
|
# There is not much to change here except perhaps the
|
||||||
|
# File daemon Name to
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# List Directors who are permitted to contact this File daemon
|
||||||
|
#
|
||||||
|
Director {
|
||||||
|
Name = bacula-dir
|
||||||
|
Password = "{{ bacula5PasswordDir }}"
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Restricted Director, used by tray-monitor to get the
|
||||||
|
# status of the file daemon
|
||||||
|
#
|
||||||
|
Director {
|
||||||
|
Name = bacula-mon
|
||||||
|
Password = "{{ bacula5PasswordDir }}"
|
||||||
|
Monitor = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# "Global" File daemon configuration specifications
|
||||||
|
#
|
||||||
|
FileDaemon { # this is me
|
||||||
|
Name = bacula-fd
|
||||||
|
FDport = 9102 # where we listen for the director
|
||||||
|
WorkingDirectory = /var/spool/bacula
|
||||||
|
Pid Directory = /var/run
|
||||||
|
Maximum Concurrent Jobs = 10
|
||||||
|
Heartbeat Interval = 10
|
||||||
|
#Maximum Network Buffer Size = 131072
|
||||||
|
}
|
||||||
|
|
||||||
|
# Send all messages except skipped files back to Director
|
||||||
|
Messages {
|
||||||
|
Name = Standard
|
||||||
|
director = bacula-dir = all, !skipped, !restored
|
||||||
|
}
|
104
files/bacula/bacula-sd.conf.j2
Normal file
104
files/bacula/bacula-sd.conf.j2
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
#
|
||||||
|
# Default Bacula Storage Daemon Configuration file
|
||||||
|
#
|
||||||
|
# For Bacula release 2.0.3 (06 March 2007) -- redhat (Zod)
|
||||||
|
#
|
||||||
|
# You may need to change the name of your tape drive
|
||||||
|
# on the "Archive Device" directive in the Device
|
||||||
|
# resource. If you change the Name and/or the
|
||||||
|
# "Media Type" in the Device resource, please ensure
|
||||||
|
# that dird.conf has corresponding changes.
|
||||||
|
#
|
||||||
|
|
||||||
|
Storage { # definition of myself
|
||||||
|
Name = bacula-sd
|
||||||
|
SDPort = 9103 # Director's port
|
||||||
|
WorkingDirectory = "/var/spool/bacula"
|
||||||
|
Pid Directory = "/var/run"
|
||||||
|
Maximum Concurrent Jobs = 10
|
||||||
|
Heartbeat Interval = 5
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# List Directors who are permitted to contact Storage daemon
|
||||||
|
#
|
||||||
|
Director {
|
||||||
|
Name = bacula-dir
|
||||||
|
Password = "{{ bacula5PasswordDir }}"
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Restricted Director, used by tray-monitor to get the
|
||||||
|
# status of the storage daemon
|
||||||
|
#
|
||||||
|
Director {
|
||||||
|
Name = bacula-mon
|
||||||
|
Password = "{{ bacula5PasswordDir }}"
|
||||||
|
Monitor = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Devices supported by this Storage daemon
|
||||||
|
# To connect, the Director's bacula-dir.conf must have the
|
||||||
|
# same Name and MediaType.
|
||||||
|
#
|
||||||
|
|
||||||
|
Device {
|
||||||
|
Name = FileStorage
|
||||||
|
Media Type = File
|
||||||
|
Archive Device = /bacula/
|
||||||
|
LabelMedia = yes; # lets Bacula label unlabeled media
|
||||||
|
Random Access = Yes;
|
||||||
|
AutomaticMount = yes; # when device opened, read it
|
||||||
|
RemovableMedia = no;
|
||||||
|
AlwaysOpen = no;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Device {
|
||||||
|
Name = FileStorage2
|
||||||
|
Media Type = File
|
||||||
|
Archive Device = /bacula2/
|
||||||
|
LabelMedia = yes; # lets Bacula label unlabeled media
|
||||||
|
Random Access = Yes;
|
||||||
|
AutomaticMount = yes; # when device opened, read it
|
||||||
|
RemovableMedia = no;
|
||||||
|
AlwaysOpen = no;
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# An autochanger device with two drives
|
||||||
|
|
||||||
|
Autochanger {
|
||||||
|
Name = Autochanger
|
||||||
|
Device = Drive-1
|
||||||
|
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
|
||||||
|
Changer Device = /dev/sg1
|
||||||
|
}
|
||||||
|
|
||||||
|
Device {
|
||||||
|
Name = Drive-1 #
|
||||||
|
Drive Index = 0
|
||||||
|
Media Type = LTO-5
|
||||||
|
Archive Device = /dev/nst0
|
||||||
|
AutomaticMount = yes; # when device opened, read it
|
||||||
|
AlwaysOpen = yes;
|
||||||
|
RemovableMedia = yes;
|
||||||
|
RandomAccess = no;
|
||||||
|
AutoChanger = yes
|
||||||
|
SpoolDirectory = /bacula/bacula/spool/;
|
||||||
|
Maximum Spool Size = 1600G;
|
||||||
|
# Label Media = yes
|
||||||
|
# Enable the Alert command only if you have the mtx package loaded
|
||||||
|
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
|
||||||
|
# If you have smartctl, enable this, it has more info than tapeinfo
|
||||||
|
Alert Command = "sh -c 'smartctl -H -l error %c'"
|
||||||
|
}
|
||||||
|
#
|
||||||
|
# Send all messages to the Director,
|
||||||
|
# mount messages also are sent to the email address
|
||||||
|
#
|
||||||
|
Messages {
|
||||||
|
Name = Standard
|
||||||
|
director = bacula-dir = all
|
||||||
|
}
|
10
files/bacula/bconsole.conf.j2
Normal file
10
files/bacula/bconsole.conf.j2
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#
|
||||||
|
# Bacula User Agent (or Console) Configuration File
|
||||||
|
#
|
||||||
|
|
||||||
|
Director {
|
||||||
|
Name = bacula-dir
|
||||||
|
DIRport = 9101
|
||||||
|
address = localhost
|
||||||
|
Password = "{{ bacula5PasswordCon }}"
|
||||||
|
}
|
5
files/bacula/fedora_delete_catalog_backup
Executable file
5
files/bacula/fedora_delete_catalog_backup
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# This script deletes a catalog dump
|
||||||
|
#
|
||||||
|
rm -f /bacula/bacula.sql
|
3
files/bacula/fedora_make_catalog_backup
Executable file
3
files/bacula/fedora_make_catalog_backup
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
rm -f /bacula/bacula.sql
|
||||||
|
/usr/bin/mysqldump -u bacula -f bacula > /bacula/bacula.sql
|
6
files/collectd/apache.conf
Normal file
6
files/collectd/apache.conf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
LoadPlugin apache
|
||||||
|
|
||||||
|
<Plugin apache>
|
||||||
|
URL "http://localhost/apache-status?auto"
|
||||||
|
</Plugin>
|
||||||
|
|
46
files/collectd/collectd.conf.j2
Normal file
46
files/collectd/collectd.conf.j2
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
#
|
||||||
|
# Config file for collectd(1).
|
||||||
|
# Please read collectd.conf(5) for a list of options.
|
||||||
|
# http://collectd.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
Hostname "{{ inventory_hostname }}"
|
||||||
|
FQDNLookup true
|
||||||
|
#BaseDir "/usr/var/lib/collectd"
|
||||||
|
#PIDFile "/usr/var/run/collectd.pid"
|
||||||
|
#PluginDir "/usr/lib/collectd"
|
||||||
|
#TypesDB "/usr/lib/collectd/types.db"
|
||||||
|
#Interval 10
|
||||||
|
#ReadThreads 5
|
||||||
|
|
||||||
|
LoadPlugin syslog
|
||||||
|
|
||||||
|
<Plugin syslog>
|
||||||
|
LogLevel err
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
LoadPlugin cpu
|
||||||
|
LoadPlugin df
|
||||||
|
LoadPlugin disk
|
||||||
|
LoadPlugin exec
|
||||||
|
LoadPlugin interface
|
||||||
|
LoadPlugin load
|
||||||
|
LoadPlugin memory
|
||||||
|
LoadPlugin processes
|
||||||
|
LoadPlugin swap
|
||||||
|
LoadPlugin tail
|
||||||
|
LoadPlugin users
|
||||||
|
LoadPlugin vmem
|
||||||
|
|
||||||
|
<Plugin disk>
|
||||||
|
Disk "/^[hs]d[a-f]?$/"
|
||||||
|
Disk "/^xvd[a-f]?$/"
|
||||||
|
Disk "/dev/xvdb1"
|
||||||
|
IgnoreSelected false
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
<Plugin hddtemp>
|
||||||
|
TranslateDevicename false
|
||||||
|
</Plugin>
|
||||||
|
|
||||||
|
Include "/etc/collectd.d"
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
|
||||||
|
|
||||||
host=$(hostname -s)
|
host=$(hostname -s)
|
||||||
pause=10
|
pause=10
|
2
files/collectd/fedmsg-types.db
Normal file
2
files/collectd/fedmsg-types.db
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
fedmsg_wallboard count:GAUGE:0:U
|
||||||
|
|
6
files/collectd/fedmsg.conf
Normal file
6
files/collectd/fedmsg.conf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
LoadPlugin exec
|
||||||
|
TypesDB "/usr/share/collectd/fedmsg-types.db"
|
||||||
|
|
||||||
|
<Plugin exec>
|
||||||
|
Exec "fedmsg" "/usr/bin/fedmsg-collectd" "--collectd-interval" "10"
|
||||||
|
</Plugin>
|
|
@ -1,4 +1,3 @@
|
||||||
LoadPlugin exec
|
|
||||||
<Plugin exec>
|
<Plugin exec>
|
||||||
Exec "nobody" "/usr/local/bin/collectd_mailq.sh"
|
Exec "nobody" "/usr/local/bin/collectd_mailq.sh"
|
||||||
</Plugin>
|
</Plugin>
|
5
files/collectd/network-client.conf
Normal file
5
files/collectd/network-client.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
LoadPlugin network
|
||||||
|
|
||||||
|
<Plugin "network">
|
||||||
|
Server "log02"
|
||||||
|
</Plugin>
|
8
files/collectd/rrdtool.conf
Normal file
8
files/collectd/rrdtool.conf
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LoadPlugin rrdtool
|
||||||
|
|
||||||
|
<Plugin rrdtool>
|
||||||
|
CacheTimeout 160
|
||||||
|
CacheFlush 1200
|
||||||
|
WritesPerSecond 50
|
||||||
|
</Plugin>
|
||||||
|
|
41
files/common-scripts/lock-wrapper
Executable file
41
files/common-scripts/lock-wrapper
Executable file
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $# -lt 2 ]; then
|
||||||
|
echo "Usage: $0 [name] [script]"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
NAME=$1
|
||||||
|
SCRIPT=$2
|
||||||
|
|
||||||
|
LOCKDIR="/var/tmp/$NAME"
|
||||||
|
PIDFILE="$LOCKDIR/pid"
|
||||||
|
|
||||||
|
function cleanup {
|
||||||
|
rm -rf "$LOCKDIR"
|
||||||
|
}
|
||||||
|
|
||||||
|
RESTORE_UMASK=$(umask -p)
|
||||||
|
umask 0077
|
||||||
|
if ! mkdir "$LOCKDIR"; then
|
||||||
|
echo "$LOCKDIR already exists"
|
||||||
|
PID=$(cat "$PIDFILE")
|
||||||
|
if [ -n "$PID" ] && /bin/ps $PID > /dev/null
|
||||||
|
then
|
||||||
|
echo "$PID is still running"
|
||||||
|
/bin/ps -o user,pid,start,time,comm $PID
|
||||||
|
exit 1;
|
||||||
|
else
|
||||||
|
echo "$LOCKDIR exists but $PID is dead"
|
||||||
|
echo "Removing lockdir and re-running"
|
||||||
|
/bin/rm -rf $LOCKDIR
|
||||||
|
mkdir $LOCKDIR || exit
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
trap cleanup EXIT SIGQUIT SIGHUP SIGTERM
|
||||||
|
echo $$ > "$PIDFILE"
|
||||||
|
|
||||||
|
$RESTORE_UMASK
|
||||||
|
eval "$SCRIPT"
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
# copyright (c) 2011 Red Hat, inc
|
# copyright (c) 2011 Red Hat, inc
|
||||||
# gpl v2 blah blah
|
# gpl v2 blah blah
|
||||||
# skvidal - skvidal@fedoraproject.org
|
# skvidal - skvidal@fedoraproject.org
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import sys
|
import sys
|
||||||
|
@ -87,23 +86,23 @@ def main():
|
||||||
|
|
||||||
if theinput != old_output or (tti and now - old_date > tti):
|
if theinput != old_output or (tti and now - old_date > tti):
|
||||||
if theinput.strip(): # if there is nothing here, don't output and don't drop a \n on the end of it
|
if theinput.strip(): # if there is nothing here, don't output and don't drop a \n on the end of it
|
||||||
print(theinput,)
|
print theinput,
|
||||||
fo = open(mydir + '/output', 'w')
|
fo = open(mydir + '/output', 'w')
|
||||||
fo.write(theinput)
|
fo.write(theinput)
|
||||||
fo.flush()
|
fo.flush()
|
||||||
fo.close()
|
fo.close()
|
||||||
|
|
||||||
|
|
||||||
except Exception as e:
|
except Exception, e:
|
||||||
print(e, file=sys.stderr)
|
print >> sys.stderr, e
|
||||||
print(theinput, file=sys.stderr)
|
print >> sys.stderr, theinput
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
main()
|
main()
|
||||||
except Exception as e:
|
except Exception, e:
|
||||||
print(e, file=sys.stderr)
|
print >> sys.stderr, e
|
||||||
if not sys.stdin.isatty():
|
if not sys.stdin.isatty():
|
||||||
print(sys.stdin.read(), file=sys.stderr)
|
print >> sys.stderr, sys.stdin.read()
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
HOST=batcave01
|
HOST=lockbox01.vpn.fedoraproject.org
|
||||||
|
|
||||||
function cleanlock()
|
function cleanlock()
|
||||||
{
|
{
|
|
@ -1,32 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
|
||||||
|
|
||||||
mQENBF3jBZQBCAC3mGl8pmWoOuUzh8rJAbaqiOXEZ8wa904VN2bTDgxydtwL16cy
|
|
||||||
ad54OaW+jyD0+api5b5pKmmu+7qLT3vfndITQaF8lE1w+1qSFFJpbxOSsqU7rVx5
|
|
||||||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ViI5r1WZO1h3b/v9j3QOA
|
|
||||||
A8WIVAcqGzwbBQDCV4zVZuePoNouYhMLvjai3Y3Ydd8vnZyGT02Zk4zYgBOw7cnh
|
|
||||||
0yveyYxJ+11x53UJXFmGI/vbslqmnWawp0eqT5T/TH45KNXHglvGqPct+6FdQ9N/
|
|
||||||
sIFjjYDXxuFNr3jCleXdP3SSi+Fvx7OrIVGmXNa0b02DWjci0wouXR0kGn0AEQEA
|
|
||||||
AYkBHwQYAQoACQIbDAUCYk1i2gAKCRCDAU674W4NEgtpB/9YAciHdlQm9Bfk/lwA
|
|
||||||
otibXlqqzQAtjQ7UAbHsPYL1s8ty1RxrW3Moi2y6fVFcFaDpzo8MEXO22TV7Pff+
|
|
||||||
hnhvea/XhXcIpTCEKfuK2gapvVIQ6cHFqpbthrzTj7SAOdp9mxkxdqXYVsiMAoWl
|
|
||||||
PweZDxc+S73ryC6OexoI6s/HJBQcmcnhArdQUAxQQed//oEFfz+Gznj3VBsFumMV
|
|
||||||
Hldqd3MYc1mcPC5ok4oBoBY2QYg74NYSxIZU5DVsv/rJYrw0cz7+539f9TgOCYqs
|
|
||||||
GbyAJgLIJBBZnS0rPyqCEbMyV1H2ah2FgPGFKxo1uVtRWA2/oulu96uHJFeN9rSg
|
|
||||||
Ud3Q
|
|
||||||
=SGO3
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,29 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
|
||||||
|
|
||||||
mQINBFKuaIQBEAC1UphXwMqCAarPUH/ZsOFslabeTVO2pDk5YnO96f+rgZB7xArB
|
|
||||||
OSeQk7B90iqSJ85/c72OAn4OXYvT63gfCeXpJs5M7emXkPsNQWWSju99lW+AqSNm
|
|
||||||
jYWhmRlLRGl0OO7gIwj776dIXvcMNFlzSPj00N2xAqjMbjlnV2n2abAE5gq6VpqP
|
|
||||||
vFXVyfrVa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H9ACGCNv
|
|
||||||
HnXVjHQF9iHWApKkRIeh8Fr2n5dtfJEF7SEX8GbX7FbsWo29kXMrVgNqHNyDnfAB
|
|
||||||
VoPubgQdtJZJkVZAkaHrMu8AytwT62Q4eNqmJI1aWbZQNI5jWYqc6RKuCK6/F99q
|
|
||||||
thFT9gJO17+yRuL6Uv2/vgzVR1RGdwVLKwlUjGPAjYflpCQwWMAASxiv9uPyYPHc
|
|
||||||
ErSrbRG0wjIfAR3vus1OSOx3xZHZpXFfmQTsDP7zVROLzV98R3JwFAxJ4/xqeON4
|
|
||||||
vCPFU6OsT3lWQ8w7il5ohY95wmujfr6lk89kEzJdOTzcn7DBbUru33CQMGKZ3Evt
|
|
||||||
RjsC7FDbL017qxS+ZVA/HGkyfiu4cpgV8VUnbql5eAZ+1Ll6Dw==
|
|
||||||
=hdPa
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,28 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFz3zvsBEADJOIIWllGudxnpvJnkxQz2CtoWI7godVnoclrdl83kVjqSQp+2
|
|
||||||
dgxuG5mUiADUfYHaRQzxKw8efuQnwxzU9kZ70ngCxtmbQWGmUmfSThiapOz00018
|
|
||||||
+eo5MFabd2vdiGo1y+51m2sRDpN8qdCaqXko65cyMuLXrojJHIuvRA/x7iqOrRfy
|
|
||||||
a8x3OxC4PEgl5pgDnP8pVK0lLYncDEQCN76D9ubhZQWhISF/zJI+e806V71hzfyL
|
|
||||||
/Mt3mQm/li+lRKU25Usk9dWaf4NH/wZHMIPAkVJ4uD4H/uS49wqWnyiTYGT7hUbi
|
|
||||||
ecF7crhLCmlRzvJR8mkRP6/4T/F3tNDPWZeDNEDVFUkTFHNU6/h2+O398MNY/fOh
|
|
||||||
yKaNK3nnE0g6QJ1dOH31lXHARlpFOtWt3VmZU0JnWLeYdvap4Eff9qTWZJhI7Cq0
|
|
||||||
Wm8DgLU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PzOBCQARAQAB
|
|
||||||
tCdGZWRvcmEgKGVwZWw5KSA8ZXBlbEBmZWRvcmFwcm9qZWN0Lm9yZz6JAk4EEwEI
|
|
||||||
ADgWIQT/itE0RZcQbs6BO5GKOHK/MihGfAUCYTeY6wIbDwULCQgHAgYVCgkICwIE
|
|
||||||
FgIDAQIeAQIXgAAKCRCKOHK/MihGfFX/EACBPWv20+ttYu1A5WvtHJPzwbj0U4yF
|
|
||||||
3zTQpBglQ2UfkRpYdipTlT3Ih6j5h2VmgRPtINCc/ZE28adrWpBoeFIS2YAKOCLC
|
|
||||||
nZYtHl2nCoLq1U7FSttUGsZ/t8uGCBgnugTfnIYcmlP1jKKA6RJAclK89evDQX5n
|
|
||||||
R9ZD+Cq3CBMlttvSTCht0qQVlwycedH8iWyYgP/mF0W35BIn7NuuZwWhgR00n/VG
|
|
||||||
4nbKPOzTWbsP45awcmivdrS74P6mL84WfkghipdmcoyVb1B8ZP4Y/Ke0RXOnLhNe
|
|
||||||
CfrXXvuW+Pvg2RTfwRDtehGQPAgXbmLmz2ZkV69RGIr54HJv84NDbqZovRTMr7gL
|
|
||||||
9k3ciCzXCiYQgM8yAyGHV0KEhFSQ1HV7gMnt9UmxbxBE2pGU7vu3CwjYga5DpwU7
|
|
||||||
w5wu1TmM5KgZtZvuWOTDnqDLf0cKoIbW8FeeCOn24elcj32bnQDuF9DPey1mqcvT
|
|
||||||
/yEo/Ushyz6CVYxN8DGgcy2M9JOsnmjDx02h6qgWGWDuKgb9jZrvRedpAQCeemEd
|
|
||||||
fhEs6ihqVxRFl16HxC4EVijybhAL76SsM2nbtIqW1apBQJQpXWtQwwdvgTVpdEtE
|
|
||||||
r4ArVJYX5LrswnWEQMOelugUG6S3ZjMfcyOa/O0364iY73vyVgaYK+2XtT2usMux
|
|
||||||
VL469Kj5m13T6w==
|
|
||||||
=Mjs/
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,30 +0,0 @@
|
||||||
-----BEGIN PG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n341BdT1iG3s
|
|
||||||
BvKjNOAtQkHeDzRQ0rBXG40yoTjQ+s4X+3aNumy4C+xeGqUiFMcBED/5EdahWcXm
|
|
||||||
5dqEAysTpiWOaamVfvQaNuBZjKP6GXXUeAVvkEVXggTI18tpNR/xFqfvHMCYuRUJ
|
|
||||||
QERNDtEPweQn9U3ewr7VOIrF8OnxVEQe9xOPKnGr0yD22NHz5hCiIKXwt34I7m9j
|
|
||||||
IlKMETTUflmERzzzwWp9CwmwU2o+g9hILqtvLFV/9TDSiWTvr2Ynj/hlNZPG8MhB
|
|
||||||
K73S8oQADP/ogmwYkK3cx06CkaSEiQciAkpL4v7GzWfw3hTScIxbf/R5YU5i5qHj
|
|
||||||
N+XJRLoW4AdNRAtrJ1KsLrFhFso9o7cfUlGGDPOwwQu3etoY3t0vViXYanOJrXqA
|
|
||||||
DaHZ7Ynj7V5KNB97xbjohT+YiApBV1jmMbydAMhNxo2ZlAC9hmlDEwD9L9CSPt1s
|
|
||||||
PvjcY20/RjVrm62vmXI/Sqa1zPjjYaxceEZzDIcxVDAneeeAdV99zHRDjZLqucux
|
|
||||||
GGJWwUNyxnuA7ZNdD3ZQBJlefOCT4Tg2Yj2ssH6PdGBoWS2gibnGdUsc/LhIaES4
|
|
||||||
afRLHVbHRu1HJ3s7pAgxNRY5Cjc5GEqdvm+5LOt/usyyaUwds0cJp55KKovsqZ1v
|
|
||||||
+h4JFKdsC+6/ZUHRQQ==
|
|
||||||
=MNfm
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,2 +1,3 @@
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBPY62bd5vIaCgG2p2NuIERjx53FnjFz62uy+q472Bgl root@batcave01.iad2.fedoraproject.org
|
#ansible root key
|
||||||
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAmS3g5fSXizcCqKMI1n5WPFrfMyu7BMrMkMYyck07rB/cf2orO8kKj5schjILA8NYJFStlv2CGRXmQlendj523FPzPmzxvTP/OT4qdywa4LKGvAxOkRGCMMxWzVFLdEMzsLUE/+FLX+xd1US9UPLGRsbMkdz4ORCc0G8gqTr835H56mQPI+/zPFeQjHoHGYtQA1wnJH/0LCuFFfU82IfzrXzFDIBAA5i2S+eEOk7/SA4Ciek1CthNtqPX27M6UqkJMBmVpnAdeDz2noWMvlzAAUQ7dHL84CiXbUnF3hhYrHDbmD+kEK+KiRrYh3PT+5YfEPVI/xiDJ2fdHGxY7Dr2TQ== root@lockbox01.phx2.fedoraproject.org
|
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAmS3g5fSXizcCqKMI1n5WPFrfMyu7BMrMkMYyck07rB/cf2orO8kKj5schjILA8NYJFStlv2CGRXmQlendj523FPzPmzxvTP/OT4qdywa4LKGvAxOkRGCMMxWzVFLdEMzsLUE/+FLX+xd1US9UPLGRsbMkdz4ORCc0G8gqTr835H56mQPI+/zPFeQjHoHGYtQA1wnJH/0LCuFFfU82IfzrXzFDIBAA5i2S+eEOk7/SA4Ciek1CthNtqPX27M6UqkJMBmVpnAdeDz2noWMvlzAAUQ7dHL84CiXbUnF3hhYrHDbmD+kEK+KiRrYh3PT+5YfEPVI/xiDJ2fdHGxY7Dr2TQ== root@lockbox01.phx2.fedoraproject.org
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
# See: https://git.centos.org/rpms/centos-release-messaging/blob/c9s-sig-messaging/f/SOURCES
|
|
||||||
[centos-rabbitmq38]
|
|
||||||
# Yes, the repo is called 38. Yes, it only contains 3.9.x packages as of 2025-06
|
|
||||||
name=CentOS-9 - RabbitMQ 38 (3.9.x) - $basearch
|
|
||||||
#baseurl=<mirror>/CentOS-Stream/SIGs/9-stream/messaging/x86_64/rabbitmq-38/
|
|
||||||
metalink=https://mirrors.centos.org/metalink?release=$releasever&arch=$basearch&repo=centos-messaging-sig-rabbitmq-38-9-stream&protocol=https,http
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging
|
|
||||||
|
|
||||||
[centos-rabbitmq-38-test]
|
|
||||||
name=CentOS-8 - RabbitMQ 38 Testing
|
|
||||||
baseurl=https://buildlogs.centos.org/centos/$releasever-stream/messaging/$basearch/rabbitmq-38/
|
|
||||||
gpgcheck=0
|
|
||||||
enabled=0
|
|
||||||
|
|
||||||
[centos-rabbitmq-38-source]
|
|
||||||
name=CentOS-8 - RabbitMQ 38 - Source
|
|
||||||
baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/messaging/source/rabbitmq-38/
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/10/Everything/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10
|
|
||||||
|
|
||||||
[epel-testing]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/testing/10/Everything/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10
|
|
13
files/common/epel6.repo
Normal file
13
files/common/epel6.repo
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[epel]
|
||||||
|
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
||||||
|
baseurl=http://infrastructure.fedoraproject.org/pub/epel/6/$basearch/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
|
||||||
|
|
||||||
|
[epel-testing]
|
||||||
|
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
||||||
|
baseurl=http://infrastructure.fedoraproject.org/pub/epel/testing/6/$basearch/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
|
|
@ -1,20 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/7/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
|
||||||
|
|
||||||
[epel-testing]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/testing/7/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
|
||||||
|
|
||||||
[epel-beta]
|
|
||||||
name=Extras Packages for Enterprise Linux beta $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/beta/7/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
|
|
@ -1,13 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/8/Everything/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-testing]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/testing/8/Everything/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8
|
|
|
@ -1,13 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/9/Everything/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
|
|
||||||
|
|
||||||
[epel-testing]
|
|
||||||
name=Extras Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/epel/testing/9/Everything/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
|
|
|
@ -1,6 +0,0 @@
|
||||||
[infrastructure-tags-stg]
|
|
||||||
name=Fedora Infrastructure staging tag $releasever - $basearch
|
|
||||||
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/f$releasever-infra-stg/latest/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
|
|
@ -1,6 +0,0 @@
|
||||||
[infrastructure-tags]
|
|
||||||
name=Fedora Infrastructure tag $releasever - $basearch
|
|
||||||
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/f$releasever-infra/latest/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
|
|
@ -1,35 +0,0 @@
|
||||||
[updates-testing]
|
|
||||||
name=Fedora $releasever - $basearch - Test Updates
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/Everything/$basearch/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/$basearch/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-testing-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Test Updates Debug
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/Everything/$basearch/debug/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/$basearch/debug/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-testing-source]
|
|
||||||
name=Fedora $releasever - Test Updates Source
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/Everything/SRPMS/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/testing/$releasever/SRPMS/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,35 +0,0 @@
|
||||||
[updates-testing]
|
|
||||||
name=Fedora $releasever - $basearch - Test Updates
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/Everything/$basearch/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/$basearch/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-testing-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Test Updates Debug
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/Everything/$basearch/debug/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/$basearch/debug/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-testing-source]
|
|
||||||
name=Fedora $releasever - Test Updates Source
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/Everything/SRPMS/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/testing/$releasever/SRPMS/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,35 +0,0 @@
|
||||||
[updates]
|
|
||||||
name=Fedora $releasever - $basearch - Updates
|
|
||||||
{% if ansible_distribution_major_version|int > 27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/Everything/$basearch/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/$basearch/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Updates - Debug
|
|
||||||
{% if ansible_distribution_major_version|int > 27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/Everything/$basearch/debug/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/$basearch/debug/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-source]
|
|
||||||
name=Fedora $releasever - Updates Source
|
|
||||||
{% if ansible_distribution_major_version|int > 27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/Everything/SRPMS/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/updates/$releasever/SRPMS/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,35 +0,0 @@
|
||||||
[updates]
|
|
||||||
name=Fedora $releasever - $basearch - Updates
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/Everything/$basearch/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/$basearch/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Updates - Debug
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/Everything/$basearch/debug/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/$basearch/debug/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[updates-source]
|
|
||||||
name=Fedora $releasever - Updates Source
|
|
||||||
{% if ansible_distribution_major_version|int >27 %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/SRPMS/
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/updates/$releasever/Everything/SRPMS/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,38 +0,0 @@
|
||||||
[fedora]
|
|
||||||
name=Fedora $releasever - $basearch
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched == True else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/releases/$releasever/Everything/$basearch/os/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora/linux/development/$releasever/Everything/$basearch/os/
|
|
||||||
{% endif %}
|
|
||||||
enabled=1
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[fedora-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Debug
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched == True else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora/linux/development/$releasever/Everything/$basearch/debug/tree/
|
|
||||||
{% endif %}
|
|
||||||
enabled=0
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[fedora-source]
|
|
||||||
name=Fedora $releasever - Source
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched|int is defined else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora/linux/releases/$releasever/Everything/source/tree/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora/linux/development/$releasever/Everything/source/tree
|
|
||||||
{% endif %}
|
|
||||||
enabled=0
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,39 +0,0 @@
|
||||||
[fedora]
|
|
||||||
name=Fedora $releasever - $basearch
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched == True else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/releases/$releasever/Everything/$basearch/os/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora-secondary/development/$releasever/Everything/$basearch/os/
|
|
||||||
{% endif %}
|
|
||||||
enabled=1
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[fedora-debuginfo]
|
|
||||||
name=Fedora $releasever - $basearch - Debug
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched == True else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=http://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/releases/$releasever/Everything/$basearch/debug/tree/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora-secondary/development/$releasever/Everything/$basearch/debug/tree/
|
|
||||||
{% endif %}
|
|
||||||
enabled=0
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
||||||
|
|
||||||
[fedora-source]
|
|
||||||
name=Fedora $releasever - Source
|
|
||||||
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched == True else FedoraRawhideNumber|int ) %}
|
|
||||||
baseurl=http://infrastructure.fedoraproject.org/pub{{ archive_if_archived }}/fedora-secondary/releases/$releasever/Everything/source/tree/
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
|
|
||||||
{% else %}
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/pub/fedora-secondary/development/$releasever/Everything/source/tree/
|
|
||||||
{% endif %}
|
|
||||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
|
|
||||||
enabled=0
|
|
||||||
metadata_expire=7d
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
|
@ -1,7 +1,7 @@
|
||||||
[infrastructure-testing]
|
[infrastructure-testing]
|
||||||
name=Extras Packages from Fedora Infrastructure $releasever - $basearch - Testing
|
name=Extras Packages from Fedora Infrastructure $releasever - $basearch - Testing
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/testing/$releasever/$basearch/
|
baseurl=http://infrastructure.fedoraproject.org/repo/testing/$releasever/$basearch/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
|
gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[infrastructure]
|
[infrastructure]
|
||||||
name=Extras Packages from Fedora Infrastructure $releasever - $basearch
|
name=Extras Packages from Fedora Infrastructure $releasever - $basearch
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/$releasever/$basearch/
|
baseurl=http://infrastructure.fedoraproject.org/repo/$releasever/$basearch/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
|
gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#%PAM-1.0
|
|
||||||
auth sufficient pam_rootok.so
|
|
||||||
auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet
|
|
||||||
account sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
|
||||||
auth sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
|
||||||
# Uncomment the following line to implicitly trust users in the "wheel" group.
|
|
||||||
#auth sufficient pam_wheel.so trust use_uid
|
|
||||||
# Uncomment the following line to require a user to be in the "wheel" group.
|
|
||||||
#auth required pam_wheel.so use_uid
|
|
||||||
auth include system-auth
|
|
||||||
account sufficient pam_succeed_if.so user ingroup mock use_uid quiet
|
|
||||||
account include system-auth
|
|
||||||
password include system-auth
|
|
||||||
session include system-auth
|
|
||||||
session optional pam_xauth.so
|
|
|
@ -1,38 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# do_flush() flushes every active network interface. It is intended to
|
|
||||||
# run before NetworkManager starts, so that when it does it will be able
|
|
||||||
# to set up the network using the regular host configuration.
|
|
||||||
do_flush() {
|
|
||||||
for f in /sys/class/net/*; do
|
|
||||||
iface="${f##*/}"
|
|
||||||
[ "${iface}" = "lo" ] && continue
|
|
||||||
echo "Preparing to flush interface ${iface}" >&2
|
|
||||||
ip -statistics address flush dev "${iface}"
|
|
||||||
rm -f /run/NetworkManager/system-connections/default_connection.nmconnection >&2
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# reset_autoconn_prio() will reset the autoconnect priority
|
|
||||||
# of the existing NM connections to zero.
|
|
||||||
reset_autoconn_prio() {
|
|
||||||
nmcli -t -f NAME connection show 2>/dev/null | while read -r _c; do
|
|
||||||
if ! _prio="$(nmcli -t connection show "${_c}" \
|
|
||||||
| grep connection.autoconnect-priority: \
|
|
||||||
| cut -d: -f2)" || [ -z "${_prio}" ]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
[ "${_prio}" -ge 0 ] && continue
|
|
||||||
echo "Setting autoconnect-priority of connection ${_c} to zero" >&2
|
|
||||||
nmcli connection modify "${_c}" connection.autoconnect-priority 0
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
reset-autoconn-prio)
|
|
||||||
reset_autoconn_prio;;
|
|
||||||
flush)
|
|
||||||
do_flush;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
|
@ -1,2 +0,0 @@
|
||||||
[main]
|
|
||||||
no-auto-default=*
|
|
|
@ -1,24 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
countme=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-debuginfo]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
|
|
||||||
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/debug
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[epel-source]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
|
|
||||||
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/SRPMS
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
|
@ -1,24 +0,0 @@
|
||||||
[epel]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch
|
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
countme=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
|
|
||||||
|
|
||||||
[epel-debuginfo]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
|
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/debug/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[epel-source]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
|
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/source/tree/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
|
|
||||||
gpgcheck=1
|
|
|
@ -1,19 +0,0 @@
|
||||||
[rhel8-beta-dvd]
|
|
||||||
name = rhel8 beta base dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel-8.0-beta-1-$basearch/AppStream
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel8-beta-BaseOS]
|
|
||||||
name = rhel8 beta BaseOS $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel-8.0-beta-1-aarch64/BaseOS
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel8-beta-ha]
|
|
||||||
name = rhel8 beta ha $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8-beta/aarch64/rhel-8-for-aarch64-ha-beta-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel8-beta-appstream]
|
|
||||||
name = rhel8 beta appstream $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8-beta/aarch64/rhel-8-for-aarch64-appstream-beta-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
|
@ -1,6 +0,0 @@
|
||||||
[infrastructure-tags-stg]
|
|
||||||
name=Fedora Infrastructure tag $releasever - $basearch
|
|
||||||
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel$releasever-infra-stg/latest/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
|
|
@ -1,6 +0,0 @@
|
||||||
[infrastructure-tags]
|
|
||||||
name=Fedora Infrastructure tag $releasever - $basearch
|
|
||||||
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel$releasever-infra/latest/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
|
|
@ -1,34 +0,0 @@
|
||||||
[rhel10-dvd-BaseOS]
|
|
||||||
name = rhel10 baseos dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL10-$basearch/BaseOS
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel10-dvd-AppStream]
|
|
||||||
name = rhel10 AppStream dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL10-$basearch/AppStream
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel10-BaseOS]
|
|
||||||
name = rhel10 BaseOS $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10.0/repos/$basearch/baseos
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel10-AppStream]
|
|
||||||
name = rhel10 AppStream $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10.0/repos/$basearch/appstream
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel10-CRB]
|
|
||||||
name = rhel10 CodeReadyBuilder $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10.0/repos/$basearch/crb
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
14
files/common/rhel6.repo
Normal file
14
files/common/rhel6.repo
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[rhel6-dvd]
|
||||||
|
name = rhel6 base dvd
|
||||||
|
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/RHEL6-$basearch/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
||||||
|
|
||||||
|
[rhel6-base]
|
||||||
|
name = rhel6 base $basearch
|
||||||
|
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel-$basearch-server-6/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
||||||
|
|
||||||
|
[rhel6-optional]
|
||||||
|
name = rhel6 optional $basearch
|
||||||
|
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel-$basearch-server-optional-6/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
@ -1,24 +0,0 @@
|
||||||
[rhel7-dvd]
|
|
||||||
name = rhel7 base dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL7-$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel7-base]
|
|
||||||
name = rhel7 base $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-rpms
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel7-optional]
|
|
||||||
name = rhel7 optional $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-optional-rpms
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel7-extras]
|
|
||||||
name = rhel7 extras $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-extras-rpms
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
|
|
||||||
[rhel7-ha]
|
|
||||||
name = rhel7 ha $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-ha-for-rhel-7-server-rpms/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
|
@ -1,41 +0,0 @@
|
||||||
[rhel8-dvd-BaseOS]
|
|
||||||
name = rhel8 baseos dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL8.0-$basearch/BaseOS
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel8-dvd-AppStream]
|
|
||||||
name = rhel8 AppStream dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL8.0-$basearch/AppStream
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel8-BaseOS]
|
|
||||||
name = rhel8 BaseOS $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8/$basearch/rhel-8-for-$basearch-baseos-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel8-AppStream]
|
|
||||||
name = rhel8 AppStream $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8/$basearch/rhel-8-for-$basearch-appstream-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel8-CRB]
|
|
||||||
name = rhel8 CodeReadyBuilder $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8/$basearch/codeready-builder-for-rhel-8-$basearch-rpms/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel8-advanced-virt]
|
|
||||||
name = rhel8 AdvancedVirt $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8/$basearch/rhel-8-advanced-virt/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
|
@ -1,41 +0,0 @@
|
||||||
[rhel9-dvd-BaseOS]
|
|
||||||
name = rhel9 baseos dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL9.0-$basearch/BaseOS
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel9-dvd-AppStream]
|
|
||||||
name = rhel9 AppStream dvd
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL9.0-$basearch/AppStream
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel9-BaseOS]
|
|
||||||
name = rhel9 BaseOS $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel9/$basearch/rhel-9-for-$basearch-baseos-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel9-AppStream]
|
|
||||||
name = rhel9 AppStream $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel9/$basearch/rhel-9-for-$basearch-appstream-rpms
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel9-CRB]
|
|
||||||
name = rhel9 CodeReadyBuilder $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel9/$basearch/codeready-builder-for-rhel-9-$basearch-rpms/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[rhel9-advanced-virt]
|
|
||||||
name = rhel9 AdvancedVirt $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel9/$basearch/rhel-9-advanced-virt/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
|
@ -1,4 +0,0 @@
|
||||||
[rhel8-rhos16]
|
|
||||||
name = rhel8 openstack $basearch
|
|
||||||
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel8/other/rhel-8-x86_64-openstack-16-rpms
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
|
@ -1,20 +0,0 @@
|
||||||
/var/log/cron
|
|
||||||
/var/log/maillog
|
|
||||||
/var/log/messages
|
|
||||||
/var/log/secure
|
|
||||||
/var/log/spooler
|
|
||||||
{
|
|
||||||
missingok
|
|
||||||
sharedscripts
|
|
||||||
postrotate
|
|
||||||
/usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true
|
|
||||||
endscript
|
|
||||||
daily
|
|
||||||
rotate 7
|
|
||||||
ifempty
|
|
||||||
compress
|
|
||||||
compresscmd /usr/bin/xz
|
|
||||||
uncompresscmd /usr/bin/xz
|
|
||||||
compressext .xz
|
|
||||||
dateext
|
|
||||||
}
|
|
|
@ -1,7 +1,10 @@
|
||||||
208.75.88.4
|
# [clock.redhat.com]
|
||||||
216.93.242.12
|
66.187.233.4
|
||||||
107.170.242.27
|
# [time.nist.gov]
|
||||||
108.166.189.70
|
192.43.244.18
|
||||||
199.223.248.98
|
# [otc1.psu.edu]
|
||||||
|
128.118.25.5
|
||||||
|
# [clock.isc.org]
|
||||||
|
204.152.184.72
|
||||||
# [loopback]
|
# [loopback]
|
||||||
127.127.1.0
|
127.127.1.0
|
||||||
|
|
|
@ -1,6 +1,42 @@
|
||||||
|
#ausil
|
||||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAD9QDskl41P2f4wqBuDBRD3VJ7MfKD6gMetMEaOy2b/CzfxN1vzeoxEvUxefi4+uh5b5ht5+BhQVhvBV7sTxxYftEH+B7IRmWigqcS1Ndnw+ML6zCbSTCJOqDvTLxmkZic0NUBIBP907ztMCoZjaOW9SSCrdA9Vp87V3x/KEQaeSNntmnFqtnpQI/N0NlmqxB78p97W/QDpLuftqJ33sM0uyvxXSusThLSFBHjisezsWox49nEKY8HW+Kwkmw+k7EF4tsDWymPB+S0gMsMlTxzjutNASVDmn6H+lgkzns+5Xxii4/mZWrcjqfLuH7vCI2mWykZJ6ek0LiQea9tNN+KZomqX6NbTUK3riaDPrZPNexa4I83Fp+DYNmYgnGMInqn+cZ5PoUJ3u3LaqZGBQeuuONTw0yQ8Pkkn5xibpPO6qblHKcet0pfmWQ5ab+5BDrsyLcPXolMci5h45GNWebr7UMuXT6+q+EolnYgbgDzzGJ4xPohF04OW8CwflK64KEnYcqlGs+DF4TNgGFlhKiyCWfXSjizmQusxn17ayi6+yrkiGeqfz72qyZ1pSKlwA8XRYC2VkAAquJP6zAtAKjCUdmRTSyYgCpoIAlMwBO07BiPLLov6lKdphZYY1DI7pTXA98fhVU04PDqJJYR1GKkttmCsjbRWnxjkPl/Zka1+ei3k9DNidT6j4hFj+uTj8SS70qZUtKLNpc5IcedHaGEK0vcXJm9lIEKBIEnN0PCLZCa4kQZnfdsbuep1fbXNf4WYPXea29aRKJc4hiqsdrccTp4KueHgWt1Jj6CZDZcFgX+NlUVWwk6djgjRzHUryExtsjCcgGMPRJWdUnVcpgkQ1qJhEXng3W+nFFboArWfwU8u1pXEdeE1Z+m+ows3nJHdEgQevyy/cUx6BPNPZkBh10MWskSV8Z+vb02vJB+Qik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NPI7QzUgXKKKv/WCiU6UDBX4HHWq8Yuq4tkr/yepS8sLzMz2e0pHU4uWFQuvr5ttP9ABGohhDnPr0IcaT5vm+uBTJItJBrhqGws2fnVxhWEm8Y96AZb2vFZVwiMdcKKqfVZby3/wTuEtaDbv0krQNtLJcjaOTWLHWnxJEvLWSdFgkuIDvoNKR7ZV2lsmh5UD/smStgf8TkORR59r63dp2kWAn0/Jl59ARsdXDXGCiduF3GamxglTUA+kYbkN/PBQbl6o+nNKy4Q5TI53WNmhpdsbEJWCjzT+V1ju5JejFEHIhnWyBoBUWB2NKxWaSlToI2B9E0iJ0HK68IlA7bO4X7SD8q5cZBVTKMByFxt9uQXFeZeG7QRCPIsg6bXsirnFn5028iz+RfVFe3Mavp18v1hObvH6SDTczQauuAhTwYOtphaPZj+iHbaKvKndvlOWdGoyrNxgcx+t4loyEEcEWD0Astdp0bZD39nag94PD7hnoENOC0oE6mbtyUuSCGrU6ogee8qxYAt0AP3Rq1LLaRWXqe/1rM5A9oaDNwNkWA/JWbJbZQf0vvWTZmTib3rfew== mdomsch@fedoraproject.org
|
||||||
|
|
||||||
|
#mmcgrath
|
||||||
|
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7U0WbKLL/D6iR03/vdDZJ8Lkj1jjAkindSvC4PkXVgi6qJo1YBZnIgsmoQopYcra2yzHFt58crygIh79P/rpQowWY99W+Sk4kB9UNuiAiX/LRi+1YdxwCKcRNTVOwuji6MGZoscACERmIjPY6P1oFPERoXhUkOuzPcrDK/0z/Bp9dpNRVZE/0zN6dvHA9QODLGvcFtgnX73SbZfoIbaVP/37IvOZvjGI1jxC5DwCmY+ihM13GpELP6BM8iihlnl1pjk1vtqPxD9g9Llr14Sc6cZJKl1WCulqhde4SEMOjpMJ8J8cGYBSsdh49hB36pdKQuTTnuCXpEt5Tl8PUKCrr mmcgrath@desktop.mmcgrath.net
|
||||||
|
|
||||||
|
#notting
|
||||||
|
ssh-rsa AAAAB3NzaC1yc2EAAAAD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fWdmdrzBjZQ6yyvlx5Dg++qgxpMiVOXSnw5v7H03PrT1we9wKre/2SQ1A2Oq/UDt/7tR2cMLoaPDNBpFT1W44LJB7o9iDT9YHUG3dC7R8JoeJ5YjyFmxbUQ5xg1oHnrBaPrGCuEYdQWhuDmp9Px2yRu8Agxzr9rNCZ/W8nWJVmvwvlXoldrum2rAECx0wiWqBhQ/+eX65 badger@unaka.lan
|
||||||
|
|
||||||
|
#ansible root key
|
||||||
|
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAmS3g5fSXizcCqKMI1n5WPFrfMyu7BMrMkMYyck07rB/cf2orO8kKj5schjILA8NYJFStlv2CGRXmQlendj523FPzPmzxvTP/OT4qdywa4LKGvAxOkRGCMMxWzVFLdEMzsLUE/+FLX+xd1US9UPLGRsbMkdz4ORCc0G8gqTr835H56mQPI+/zPFeQjHoHGYtQA1wnJH/0LCuFFfU82IfzrXzFDIBAA5i2S+eEOk7/SA4Ciek1CthNtqPX27M6UqkJMBmVpnAdeDz2noWMvlzAAUQ7dHL84CiXbUnF3hhYrHDbmD+kEK+KiRrYh3PT+5YfEPVI/xiDJ2fdHGxY7Dr2TQ== root@lockbox01.phx2.fedoraproject.org
|
||||||
|
|
||||||
|
|
|
@ -1,95 +0,0 @@
|
||||||
# this config needs haproxy-1.1.28 or haproxy-1.2.1
|
|
||||||
|
|
||||||
global
|
|
||||||
log 127.0.0.1 local0 warning
|
|
||||||
maxconn 4096
|
|
||||||
chroot /var/lib/haproxy
|
|
||||||
user haproxy
|
|
||||||
group haproxy
|
|
||||||
daemon
|
|
||||||
stats socket /var/run/haproxy-stat user haproxy group nrpe mode 0664
|
|
||||||
stats socket /var/run/haproxy-admin level admin user root group root mode 0660
|
|
||||||
#debug
|
|
||||||
#quiet
|
|
||||||
|
|
||||||
defaults
|
|
||||||
log global
|
|
||||||
mode tcp
|
|
||||||
option tcplog
|
|
||||||
option dontlognull
|
|
||||||
option httpclose
|
|
||||||
option redispatch
|
|
||||||
retries 3
|
|
||||||
maxconn 5000
|
|
||||||
timeout connect 5s
|
|
||||||
timeout client 500s
|
|
||||||
timeout server 500s
|
|
||||||
|
|
||||||
frontend stats-frontend
|
|
||||||
mode http
|
|
||||||
option httplog
|
|
||||||
bind 0.0.0.0:8080
|
|
||||||
default_backend stats-backend
|
|
||||||
|
|
||||||
backend stats-backend
|
|
||||||
mode http
|
|
||||||
option httplog
|
|
||||||
balance hdr(appserver)
|
|
||||||
stats enable
|
|
||||||
stats uri /
|
|
||||||
|
|
||||||
frontend os-masters-kapi
|
|
||||||
mode tcp
|
|
||||||
bind 0.0.0.0:6443
|
|
||||||
default_backend os-masters-backend-kapi
|
|
||||||
|
|
||||||
backend os-masters-backend-kapi
|
|
||||||
mode tcp
|
|
||||||
server os-node01.fedorainfracloud.org os-node01.fedorainfracloud.org:6443 weight 1 maxconn 16384 check
|
|
||||||
server os-node02.fedorainfracloud.org os-node02.fedorainfracloud.org:6443 weight 1 maxconn 16384 check
|
|
||||||
server os-node09.fedorainfracloud.org os-node09.fedorainfracloud.org:6443 weight 1 maxconn 16384 check
|
|
||||||
# temp bootstrap node
|
|
||||||
server os-node11.fedorainfracloud.org os-node11.fedorainfracloud.org:6443 weight 1 maxconn 16384 check
|
|
||||||
|
|
||||||
frontend os-masters-machineconfig
|
|
||||||
mode tcp
|
|
||||||
bind 0.0.0.0:22623
|
|
||||||
default_backend os-masters-backend-machineconfig
|
|
||||||
|
|
||||||
backend os-masters-backend-machineconfig
|
|
||||||
mode tcp
|
|
||||||
server os-node01.fedorainfracloud.org os-node01.fedorainfracloud.org:22623 weight 1 maxconn 16384 check
|
|
||||||
server os-node02.fedorainfracloud.org os-node02.fedorainfracloud.org:22623 weight 1 maxconn 16384 check
|
|
||||||
server os-node09.fedorainfracloud.org os-node09.fedorainfracloud.org:22623 weight 1 maxconn 16384 check
|
|
||||||
# temp bootstrap node
|
|
||||||
server os-node11.fedorainfracloud.org os-node11.fedorainfracloud.org:22623 weight 1 maxconn 16384 check
|
|
||||||
|
|
||||||
frontend os-routers-https
|
|
||||||
mode tcp
|
|
||||||
bind 0.0.0.0:443
|
|
||||||
default_backend os-routers-https
|
|
||||||
|
|
||||||
backend os-routers-https
|
|
||||||
server os-node03.fedorainfracloud.org os-node03.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node04.fedorainfracloud.org os-node04.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node05.fedorainfracloud.org os-node05.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node06.fedorainfracloud.org os-node06.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node07.fedorainfracloud.org os-node07.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node08.fedorainfracloud.org os-node08.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node10.fedorainfracloud.org os-node10.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
server os-node11.fedorainfracloud.org os-node11.fedorainfracloud.org:443 weight 1 maxconn 16384 check
|
|
||||||
|
|
||||||
frontend os-routers-http
|
|
||||||
mode tcp
|
|
||||||
bind 0.0.0.0:80
|
|
||||||
default_backend os-routers-http
|
|
||||||
|
|
||||||
backend os-routers-http
|
|
||||||
server os-node03.fedorainfracloud.org os-node03.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node04.fedorainfracloud.org os-node04.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node05.fedorainfracloud.org os-node05.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node06.fedorainfracloud.org os-node06.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node07.fedorainfracloud.org os-node07.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node08.fedorainfracloud.org os-node08.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node10.fedorainfracloud.org os-node10.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
||||||
server os-node11.fedorainfracloud.org os-node11.fedorainfracloud.org:80 weight 1 maxconn 16384 check
|
|
|
@ -1,28 +0,0 @@
|
||||||
Instructions
|
|
||||||
------------
|
|
||||||
|
|
||||||
The files in this directory are the configuration files for communishift to be applied.
|
|
||||||
|
|
||||||
For OIDC auth, get the client secret for "communishift" from ansible-private/files/ipsilon/openidc.production.static, and run:
|
|
||||||
> oc create secret generic fedoraidp-clientsecret --from-literal=clientSecret=<client-secret> -n openshift-config
|
|
||||||
|
|
||||||
For certificates, first install [cert-manager](https://docs.cert-manager.io/en/release-0.10/)
|
|
||||||
NOTE: The 0.11 version is buggy, as is the operator hub '1.0' version. Use 0.10 unless you want
|
|
||||||
to spend a lot of time debugging.
|
|
||||||
|
|
||||||
Next create the Issuer object. You may need to wait a minute or two for the cert-manager install
|
|
||||||
to complete and have all pods up.
|
|
||||||
To do this, first create a new access key ID and secret key in AWS for the communishift_acme_dns01 user, and update issuer.yml with the access key ID and then create a secret with the private access key
|
|
||||||
> oc create -f issuer.yml
|
|
||||||
> oc -n cert-manager create secret generic route53-access-key-secret --from-literal=access-key=THEACCESSKEY
|
|
||||||
This gives it the ability to create a TXT record for acmechallenges.fedorainfracloud.org.
|
|
||||||
To allow certificates for other hostnames, those hostnames need a CNAME of "_acme-challenge.<hostname>" pointing to "acmechallenges.fedorainfracloud.org".
|
|
||||||
|
|
||||||
After that, create the two certificate requests for the API server and ingress default cert:
|
|
||||||
> oc -n openshift-config create -f cert_api.yml
|
|
||||||
> oc -n openshift-ingress create -f cert_apps.yml
|
|
||||||
This will start the request of the certificates.
|
|
||||||
Then run the following commands to update the ingress router (will take affect after its restart) and API server with their new certs:
|
|
||||||
|
|
||||||
> oc patch apiserver cluster --type=merge -p '{"spec": {"servingCerts": {"namedCertificates": {"names": "api.os.fedorainfracloud.org"}, "servingCertificate": {"name": "api-certificate"}}}}'
|
|
||||||
> oc patch ingresscontroller.operator default --type=merge -p '{"spec":{"defaultCertificate": {"name": "apps-certificate"}}}' -n openshift-ingress-operator
|
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: api-certificate
|
|
||||||
namespace: openshift-config
|
|
||||||
spec:
|
|
||||||
secretName: api-certificate
|
|
||||||
renewBefore: 360h # 15d
|
|
||||||
commonName: api.os.fedorainfracloud.org
|
|
||||||
dnsNames:
|
|
||||||
- 'api.os.fedorainfracloud.org'
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-production
|
|
||||||
kind: ClusterIssuer
|
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: apps-certificate
|
|
||||||
namespace: openshift-ingress
|
|
||||||
spec:
|
|
||||||
secretName: apps-certificate
|
|
||||||
renewBefore: 360h # 15d
|
|
||||||
commonName: apps.os.fedorainfracloud.org
|
|
||||||
dnsNames:
|
|
||||||
- '*.apps.os.fedorainfracloud.org'
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-production
|
|
||||||
kind: ClusterIssuer
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
|
||||||
kind: ClusterIssuer
|
|
||||||
metadata:
|
|
||||||
name: letsencrypt-production
|
|
||||||
spec:
|
|
||||||
acme:
|
|
||||||
email: admin@fedoraproject.org
|
|
||||||
server: https://acme-v02.api.letsencrypt.org/directory
|
|
||||||
privateKeySecretRef:
|
|
||||||
name: letsencrypt-production-account-key
|
|
||||||
solvers:
|
|
||||||
- dns01:
|
|
||||||
cnameStrategy: Follow
|
|
||||||
route53:
|
|
||||||
region: us-east-1
|
|
||||||
accessKeyID: THEACCESSKEYID
|
|
||||||
secretAccessKeySecretRef:
|
|
||||||
namespace: cert-manager
|
|
||||||
name: route53-access-key-secret
|
|
||||||
key: access-key
|
|
||||||
hostedZoneID: Z2MFECC8O90CBA
|
|
|
@ -1,12 +0,0 @@
|
||||||
MachineConfig files
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
The files in this directory are used as machineconfig files for communishift.
|
|
||||||
Note that they're template files: some changes will need to be made before "oc create -f".
|
|
||||||
|
|
||||||
Specifically:
|
|
||||||
- The templates have two "DOBOTH" replacements. You want to create the file twice,
|
|
||||||
once with both DOBOTH cases replaced with "master" and once replaced with "worker".
|
|
||||||
- The mc_firewall.yml.template has a bit FILL_IN_HERE. Run "./to_data.sh firewall.sh",
|
|
||||||
and copy the output from that script into the FILL_IN_HERE bit in the MC.
|
|
||||||
Then run that MC twice as per the previous point (master and worker).
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue