This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: Buscar por pods com acesso privilegiado | |
| hosts: localhost | |
| gather_facts: false | |
| tasks: | |
| - name: Obter todos os pods de todos os namespaces | |
| kubernetes.core.k8s_info: | |
| api_version: v1 | |
| kind: Pod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: privileged-test | |
| --- | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: privileged-sa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| labels: | |
| openshift.io/cluster-monitoring: "true" | |
| name: ansible-automation-platform | |
| --- | |
| apiVersion: operators.coreos.com/v1 | |
| kind: OperatorGroup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: JBoss EAP installation | |
| hosts: jboss-host | |
| become: true | |
| tasks: | |
| - name: Install packages | |
| ansible.builtin.dnf: | |
| name: "{{ item }}" | |
| state: present | |
| loop: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCu5kPYPK0CVmGu/JT4cesPfJ44mg/M00IkF1mZpArgRnHjzWpByUQz4gu35O+ug9UuEjhAJ70OnstDtdVpVss4l3P4HhAHs79asGcCRq0hS03/wxknHEQBOJqK8VpKf65yX/QMEeyo5w7G/cIj0f68W7nCD1hIMbfGDIw0QvlakqeXb/S3T4YJArkFC9xxT/YfdscufSGhBGVQoTBGYqyqL6kD+MTP8dt2HaSXVBV/hOSjv7/DF1HFvquvbt0ibg2SEfWBMR0KwFcbmigC37h+Da4JaBUA3hShxMEWU1oSy2orpXSr/RqVDOG/edW9zMBkKX3TtcVhamkIBEXzvFTBUKzKlJ5knBUdvl4BwnWhM9gHL7oy1LPWfE9JDKeUFcuagtr5E6OacUBkaucOmAOqbkY9KSwoDgrXIojrDAVjmyYCzLA35heHIpTwPzQisNniAhEK5ZR4+2vPi3OgK5XhY9UBVwz6Kto3hT9VCMMmFWGqxNaCXnGOMBhkMOnV6OU= devops@ansible-controlmanager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function InstallDocker(){ | |
| apt-get update | |
| apt-get -y install apt-transport-https ca-certificates curl gnupg lsb-release | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
| echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| apt-get update | |
| apt-get -y install docker-ce docker-ce-cli containerd.io | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| import os | |
| from datetime import datetime | |
| import shutil | |
| import glob | |
| class MeuOrganizador: | |
| DATETIME_EXIF_INFO_ID = 36867 | |
| extensions = ['CR2','JPG','MP4','jpg','png','jpeg','gif','PNG','mp4','mov','3gp'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [OSEv3:children] | |
| masters | |
| nodes | |
| etcd | |
| [OSEv3:vars] | |
| ansible_ssh_user=origin | |
| ansible_become=true | |
| openshift_deployment_type=origin |