unit_type string | repo_path string | commit_id string | stars int32 | unit_prefix string | shard int32 | license_types list | files list | quality dict | flags dict |
|---|---|---|---|---|---|---|---|---|---|
ansible_role | Serg511/Homework_4 | c93444d4000cac5e355b445e812c1dde1c4d5612 | 0 | ansible/roles/wp | 7,480 | [
"no_license"
] | [
{
"path": "ansible/roles/wp/tasks/main.yml",
"content": "- name: Download wordpress\n get_url:\n url: https://wordpress.org/latest.tar.gz\n dest: /mnt/gfs2/WP/latest.tar.gz\n\n- name: Unzip wordpress\n unarchive:\n src: /mnt/gfs2/WP/latest.tar.gz\n dest: /mnt/gfs2/WP/\n remote_src: yes\n\n-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 828,
"all_permissive": false
} |
ansible_role | chazz03/TPF | 2b66e307dcb90707227ebc7fe1996e0853660a4c | 0 | TP_Ansible/roles/create_network | 7,480 | [
"no_license"
] | [
{
"path": "TP_Ansible/roles/create_network/tasks/main.yml",
"content": "- name: Create Docker network\n docker_network:\n name: \"{{ docker_network }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 81
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 81,
"all_permissive": false
} |
ansible_role | chazz03/TPF | 2b66e307dcb90707227ebc7fe1996e0853660a4c | 0 | TP_Ansible/roles/docker | 7,480 | [
"no_license"
] | [
{
"path": "TP_Ansible/roles/docker/tasks/main.yml",
"content": "- name: Install python3-apt on remote (raw command)\n raw: sudo apt-get update && sudo apt-get install -y python3-apt\n\n- name: Install required packages\n apt:\n name:\n - apt-transport-https\n - ca-certificates\n - curl\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1038,
"all_permissive": false
} |
ansible_role | chazz03/TPF | 2b66e307dcb90707227ebc7fe1996e0853660a4c | 0 | TP_Ansible/roles/launch_app | 7,480 | [
"no_license"
] | [
{
"path": "TP_Ansible/roles/launch_app/tasks/main.yml",
"content": "- name: Run simple-api container\n docker_container:\n name: \"{{ api_container_name }}\"\n image: chaz01/tp-devops-simple-api:latest\n pull: true\n recreate: true\n force_kill: true\n state: started\n restart_policy: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 447,
"all_permissive": false
} |
ansible_role | chazz03/TPF | 2b66e307dcb90707227ebc7fe1996e0853660a4c | 0 | TP_Ansible/roles/launch_database | 7,480 | [
"no_license"
] | [
{
"path": "TP_Ansible/roles/launch_database/tasks/main.yml",
"content": "- name: Run PostgreSQL container\n docker_container:\n name: \"{{ db_container_name }}\"\n image: chaz01/tp-devops-database\n pull: \"{{ docker_pull }}\"\n recreate: \"{{ docker_recreate }}\"\n force_kill: \"{{ docker_f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 520,
"all_permissive": false
} |
ansible_role | chazz03/TPF | 2b66e307dcb90707227ebc7fe1996e0853660a4c | 0 | TP_Ansible/roles/launch_proxy | 7,480 | [
"no_license"
] | [
{
"path": "TP_Ansible/roles/launch_proxy/tasks/main.yml",
"content": "- name: Run HTTPD reverse proxy container\n docker_container:\n name: \"{{ proxy_container_name }}\"\n image: chaz01/tp-devops-httpd:latest\n pull: \"{{ docker_pull }}\"\n recreate: \"{{ docker_recreate }}\"\n force_kill: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 494,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/changepassword | 7,480 | [
"no_license"
] | [
{
"path": "roles/changepassword/vars/main.yaml",
"content": "---\npswrdfile: \"/home/pi/.pswrd\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 33
},
{
"path": "roles/changepassword/tasks/main.yaml",
"content": "---\n- name: current date time\n debug: \n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 565,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yaml",
"content": "---\n- name: Check for docker in /run\n stat:\n path: /run/docker\n register: p\n\n- name: Install Docker\n shell:\n cmd: \"curl -sSL https://get.docker.com | sh\"\n when: not p.stat.exists\n\n- name: Add the user 'pi' with a bash shell, append... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1584,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_alertmanager | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_alertmanager/files/rules.yml",
"content": " groups:\n - name: AllInstances\n rules:\n - alert: InstanceDown\n # Condition for alerting\n expr: up == 0\n for: 1m\n # Annotation - additional informational labels to store more information\n ... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 10620,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_cadvisor | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_cadvisor/defaults/main.yml",
"content": "---\npswrdfile: /home/pi/.pswrd\n\ncontainter_name: \"cadvisor\"\ncontainter_expose_port: 8080",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 88
},
{
"path": "roles/docker_cadvisor/tasks/main.yaml",
... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2335,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_compose | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_compose/tasks/main.yaml",
"content": "---\n- name: Create /var/docker-compose/docker-compose.yml\n copy:\n src: \"docker-compose.yaml\"\n dest: \"/var/docker-compose/fragments/_docker-compose.yml\"\n mode: 0755\n owner: pi\n group: pi\n\n- name: Assemble from fragment... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1114,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_fritzbox_exporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_fritzbox_exporter/tasks/main.yaml",
"content": "---\n- name: set source prometheus\n include_tasks: prometheus.yaml\n\n- name: get_facts\n include_tasks: ../../../tasks/get_facts.yaml\n\n- name: add to docker-compose\n include_tasks: docker-compose.yaml",
"license_type": "no_l... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1182,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_grafana | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_grafana/templates/docker-compose-grafana.yaml.j2",
"content": " grafana:\n image: revenberg/grafana:latest\n container_name: grafana\n ports:\n - \"3000:3000\"\n env_file:\n - '/var/docker-compose/data/grafana/env/env.grafana'\n user: \"0\"\n links:\n# ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2681,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_influxdb | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_influxdb/templates/docker-compose-influxdb.yaml.j2",
"content": " influxdb:\n image: arm32v7/influxdb:latest\n container_name: influxdb\n ports:\n - \"8083:8083\"\n - \"8086:8086\"\n - \"8090:8090\"\n - \"2003:2003\"\n env_file:\n - '/var/docker-... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1689,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_influxdb_export | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_influxdb_export/tasks/main.yaml",
"content": "--- \n- name: create /var/docker-compose/data/backup/{{ ip_address }}\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-com... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1577,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_local | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_local/tasks/main.yml",
"content": "---\n- name: current date time\n debug: \n msg: \"{{lookup('pipe','date \\\"+%Y-%m-%d %H:%M\\\"')}}\"\n\n- name: apt-get --reinstall install\n shell:\n cmd: \"apt-get --reinstall install\"\n\n- name: Update apt-get cache\n apt: >\n updat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 424,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_mqtt | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_mqtt/templates/docker-compose-mqtt.yaml.j2",
"content": " mqtt:\n image: \"eclipse-mosquitto:latest\"\n container_name: mqtt\n environment:\n - TZ=Europe/Amsterdam\n - \"MQTT_BROKER_URL=mqtt://{{ ip_address }}\"\n ports:\n - 1883:1883\n - 9001:9001\n ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2855,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_mqtt2influxdb | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_mqtt2influxdb/templates/env.mqtt2influxdb.j2",
"content": "INFLUXDB_USER=pi\nINFLUXDB_PASSWORD={{ <PASSWORD> }}",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 51
},
{
"path": "roles/docker_mqtt2influxdb/tasks/main.yaml",
"content": "---... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1596,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_nginx | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_nginx/tasks/main.yaml",
"content": "--- \n- name: create /var/docker-compose/data/nginx/templates\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-compose/data/nginx/te... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2954,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_node_exporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_node_exporter/templates/docker-compose-node-exporter.yaml.j2",
"content": " {{ containter_name }}:\n image: prom/node-exporter:latest\n container_name: {{ containter_name }}\n restart: always\n ports:\n - {{ containter_expose_port }}:9100\n expose:\n - {{ co... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 765,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_openweathermapexporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_openweathermapexporter/templates/docker-compose-openweathermapexporter.yaml.j2",
"content": " {{ containter_name }}:\n image: revenberg/openweathermapexporter:latest\n container_name: {{ containter_name }}\n environment:\n - APIKEY={{ openweathermap_apikey }}\n - ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 984,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_openweathermapmqtt | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_openweathermapmqtt/templates/docker-compose-openweathermapmqtt.yaml.j2",
"content": " openweathermapmqtt:\n image: revenberg/openweathermapmqtt:latest\n container_name: openweathermapmqtt\n environment:\n - APIKEY={{ openweathermap_apikey }}\n - WEATHER_COUNTRY=Su... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 812,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_p1exporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_p1exporter/defaults/main.yml",
"content": "---\ncontainter_name: \"p1exporter\"\ncontainter_expose_port: 9005",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 62
},
{
"path": "roles/docker_p1exporter/templates/docker-compose-p1exporter.yaml.j... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 954,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_p1meter_old | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_p1meter_old/files/data/prometheus/config/rules.yml.j2",
"content": "groups:\n- name: AllInstances\n rules:\n - alert: InstanceDown\n # Condition for alerting\n expr: up == 0\n for: 1m\n # Annotation - additional informational labels to store more information\n annota... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 13456,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_p1mqtt | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_p1mqtt/tasks/docker-compose.yaml",
"content": "--- \n- name: create /var/docker-compose/fragments\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-compose/fragments\"... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1100,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_portainer | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_portainer/templates/docker-compose-portainer.yaml.j2",
"content": " portainer:\n image: portainer/portainer-ce\n container_name: portainer\n command:\n - \"--admin-password-file=/data/.pswrd\"\n ports:\n - 9000:9000\n - 9443:9443\n volumes:\n - /va... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1401,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_prometheus | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_prometheus/defaults/main.yml",
"content": "---\npswrdfile: /home/pi/.pswrd\n\ncontainter_name: \"localhost\"\ncontainter_expose_port: 9090",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 89
},
{
"path": "roles/docker_prometheus/tasks/docker-... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 3987,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_rclone | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_rclone/tasks/main.yaml",
"content": "--- \n- name: create /var/docker-compose/data/rclone/\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-compose/data/rclone/config/\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2252,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_solar2mqtt | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_solar2mqtt/tasks/docker-compose.yaml",
"content": "--- \n- name: create /var/docker-compose/fragments\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-compose/fragmen... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 862,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_solarrs485exporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_solarrs485exporter/templates/docker-compose-solarrs485exporter.yaml.j2",
"content": " {{ containter_name }}:\n image: revenberg/solarrs485exporter:latest\n container_name: {{ containter_name }}\n environment:\n - RS485_ADDRESS=192.168.2.40\n - RS485_PORT=8899\n ... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 993,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_watermetergatewayexporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_watermetergatewayexporter/templates/docker-compose-watermetergatewayexporter.yaml.j2",
"content": " {{ containter_name }}:\n image: revenberg/watermetergatewayexporter:latest\n container_name: {{ containter_name }}\n environment:\n - IP=192.168.2.20\n - PROMETHEUS... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 907,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_zigbee | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_zigbee/tasks/main.yaml",
"content": "--- \n- name: create /var/docker-compose/mqtt \n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items: \n - \"/var/docker-compose/data/zigbee\"\n\n- name: ... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2871,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/docker_zigbeemqttexporter | 7,480 | [
"no_license"
] | [
{
"path": "roles/docker_zigbeemqttexporter/tasks/prometheus.yaml",
"content": "---\n- name: Add a line to prometheus file links\n ansible.builtin.lineinfile:\n path: /var/docker-compose/prometheus.links\n line: \" - {{ containter_name }}\"\n create: yes\n\n- name: Add a line to prometheus fil... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 1855,
"all_permissive": false
} |
ansible_role | Revenberg/powercontainers | c0cd0873ac62010761bdcc21dedfb8daf7c91f5c | 0 | roles/mountusb | 7,480 | [
"no_license"
] | [
{
"path": "roles/mountusb/tasks/main.yaml",
"content": "---\n- name: Install ntfs-3g\n apt: \n name: [ \"ntfs-3g\"]\n\n- name: create /media/usb\n file:\n path: \"{{ item }}\"\n state: directory\n recurse: yes\n mode: 0755\n owner: pi\n group: pi\n with_items:\n - \"/var/docker-comp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 701,
"all_permissive": false
} |
ansible_role | iganari/base-jenkins-dev | c8ea0cd83048d56e36f75dade916cc5e637bf52a | 0 | opsfiles/vagrant/package-ansible/roles/jenkins | 7,480 | [
"no_license"
] | [
{
"path": "opsfiles/vagrant/package-ansible/roles/jenkins/tasks/main.yml",
"content": "---\n#\n# roles/jenkins/tasks/main.yml\n#\n\n- name: get jenkins repo\n shell: wget -O {{ jenkins.repo_path }} {{ jenkins.pkg_url }}\n\n- name: inport public key\n shell: rpm --import https://jenkins-ci.org/redhat/jenki... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 560,
"all_permissive": false
} |
ansible_role | rcbarreto/talleragosto2020 | 28d07814a625fd08bc853c28ae535b48dad1ba36 | 0 | roles/apache-Debian | 7,480 | [
"no_license"
] | [
{
"path": "roles/apache-Debian/tasks/main.yml",
"content": "---\n# tasks file for roles/apache-Debian\n- name: Instalación Apache server\n apt:\n name: apache2\n state: latest\n update_cache: yes\n- name: Creación del VirtualHost\n file:\n path: etc/apache2/sites-available\n state: director... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 835,
"all_permissive": false
} |
ansible_role | rcbarreto/talleragosto2020 | 28d07814a625fd08bc853c28ae535b48dad1ba36 | 0 | roles/apache-RedHat | 7,480 | [
"no_license"
] | [
{
"path": "roles/apache-RedHat/vars/main.yml",
"content": "---\n# vars file for roles/apache-RedHat",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 39
},
{
"path": "roles/apache-RedHat/defaults/main.yml",
"content": "---\n# defaults file for roles/apache-RedHat... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 721,
"all_permissive": false
} |
ansible_role | changnam/mysite | 6e8ce519b27d9bd3e4ab8048bd87c579bcf2f985 | 0 | ansible/roles/base | 7,480 | [
"no_license"
] | [
{
"path": "ansible/roles/base/tasks/create_user.yaml",
"content": "---\r\n - name: creating devops group\r\n group:\r\n name: devops\r\n state: present\r\n - name: create devops user with admin privileges\r\n user:\r\n name: devops\r\n comment: \"Devops User\"\r\n group: dev... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 425,
"all_permissive": false
} |
ansible_role | changnam/mysite | 6e8ce519b27d9bd3e4ab8048bd87c579bcf2f985 | 0 | ansible/roles/common | 7,480 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yaml",
"content": "---\r\n- name: Ensure EPEL is enabled\r\n yum:\r\n name: epel-release\r\n state: present\r\n become: true\r\n\r\n- name: Ensure libselinux-python\r\n yum:\r\n name: libselinux-python\r\n state: present\r\n become: true\r\n",
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 214,
"all_permissive": false
} |
ansible_role | changnam/mysite | 6e8ce519b27d9bd3e4ab8048bd87c579bcf2f985 | 0 | ansible/roles/update_system | 7,480 | [
"no_license"
] | [
{
"path": "ansible/roles/update_system/tasks/update_system.yaml",
"content": " - name: Update the system using apt\r\n apt: update_cache=yes upgrade=full\r\n\r\n - name: Clean packages no longer needed\r\n apt: autoclean=yes autoremove=yes\r\n\r\n - name: ls\r\n shell: ls -l ~\n",
"license_t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 198,
"all_permissive": false
} |
ansible_role | mwong10/Azure-NetSec-Project | 285a5486e174f570ee1c660f6bd2c74b0760869c | 0 | ansible/roles/install-elk | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/install-elk/tasks/main.yml",
"content": "---\n# Tasks for installing ELK Docker\n - name: Set VM Max Map Count\n sysctl:\n name: vm.max_map_count\n value: '262144'\n state: present\n \n - name: Install docker.io\n apt:\n update_cache: yes\n fo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 821,
"all_permissive": false
} |
ansible_role | mwong10/Azure-NetSec-Project | 285a5486e174f570ee1c660f6bd2c74b0760869c | 0 | ansible/roles/install-filebeat | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/install-filebeat/tasks/main.yml",
"content": "---\n# Tasks for installing Filebeat to webservers\n - name: Download FileBeat deb\n get_url:\n url: https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.6.1-amd64.deb\n dest: /tmp/filebeat-7.6.1-amd64.deb\n\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 665,
"all_permissive": false
} |
ansible_role | mwong10/Azure-NetSec-Project | 285a5486e174f570ee1c660f6bd2c74b0760869c | 0 | ansible/roles/install-metricbeat | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/install-metricbeat/tasks/main.yml",
"content": "---\n# Tasks for installing Metricbeat to webservers\n - name: Download MetricBeat deb\n get_url:\n url: https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.6.1-amd64.deb\n dest: /tmp/metricbeat-7.6.1-amd... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 691,
"all_permissive": false
} |
ansible_role | spirrello/install_mantl | ee9f7df9bfaa89a1b4ea2088ad6afc679fbdd96d | 0 | roles/servers | 7,477 | [
"no_license"
] | [
{
"path": "roles/servers/tasks/main.yml",
"content": "---\n\n- name: create partition\n filesystem: fstype=xfs dev=/dev/sda force=yes #opts=\"-cc\"\n\n- name: create file\n file: path=/home/spirrell/testfile state=touch #mode=\"u=rw,g=r,o=r\"",
"license_type": "no_license",
"detected_licenses": []... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 180,
"all_permissive": false
} |
ansible_role | vinins/lab-ansible | 0ad65e267281f3c155a1bc0efbc4ad8d64a33a7d | 0 | roles/config | 7,477 | [
"no_license"
] | [
{
"path": "roles/config/tasks/main.yml",
"content": "---\r\n- name: 'Instala pacotes de dependencia do sistema operacional'\r\n apt:\r\n name: \"{{ item }}\"\r\n state: latest\r\n become: yes\r\n vars:\r\n ansible_python_interpreter: \"{{ python_vers }}\"\r\n with_items:\r\n - php5\r\n - ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 326,
"all_permissive": false
} |
ansible_role | frozzway/sport-app | 3fccb8a3ae2c6d93c837b802b8fa9a0424079d73 | 1 | ansible/roles/app-repository-puller | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/app-repository-puller/tasks/main.yml",
"content": "- name: Copy repo key file [fastapi]\n copy:\n src: \"{{ fastapi_code_repo_key_file }}\"\n dest: \"/home/fway/.ssh/sport-app_rsa\"\n mode: '400'\n \n- name: Copy repo key file [angular]\n copy:\n src: \"{{ angular_code... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 952,
"all_permissive": false
} |
ansible_role | frozzway/sport-app | 3fccb8a3ae2c6d93c837b802b8fa9a0424079d73 | 1 | ansible/roles/docker-runner | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/docker-runner/tasks/main.yml",
"content": "- name: Render docker-compose.yml\n template: src=docker-compose.yml.j2 dest=\"{{ app_root_dir }}/docker-compose.yml\"\n\n- name: Render angular environment file\n template: src=environment.production.ts.j2 dest=\"{{ app_root_dir }}/sport... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2809,
"all_permissive": false
} |
ansible_role | frozzway/sport-app | 3fccb8a3ae2c6d93c837b802b8fa9a0424079d73 | 1 | ansible/roles/installer | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/installer/tasks/main.yml",
"content": "- name: Refresh apt cache\n apt: update_cache=yes cache_valid_time=86400\n\n- name: Install requirements\n apt:\n pkg:\n - build-essential\n - git\n - libffi-dev\n - libssl-dev\n - python3\n - python3-apt\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 631,
"all_permissive": false
} |
ansible_role | frozzway/sport-app | 3fccb8a3ae2c6d93c837b802b8fa9a0424079d73 | 1 | ansible/roles/nginx-config | 7,477 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx-config/tasks/main.yml",
"content": "- name: Create config directory\n file: path=\"{{ app_root_dir }}/nginx\" state=directory\n\n- name: Create conf.d directory\n file: path=\"{{ app_root_dir }}/nginx/conf.d\" state=directory\n\n- name: Render nginx config\n template: src=n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 3105,
"all_permissive": false
} |
ansible_role | bishal-bahadur-poudel-chhetri/ansible_server | 01a6751c01a93d659ecc3846b0908229f1ce40af | 0 | playbooks/roles/common | 7,477 | [
"no_license"
] | [
{
"path": "playbooks/roles/common/tasks/main.yml",
"content": "- name: install all the packages\n apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - curl\n - apt-transport-https\n - ca-certificates\n\n\n- name: Disable swap\n shell: |\n swapoff -a\n sed -i '/ swap / s/^/#/' /et... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2491,
"all_permissive": false
} |
ansible_role | bishal-bahadur-poudel-chhetri/ansible_server | 01a6751c01a93d659ecc3846b0908229f1ce40af | 0 | playbooks/roles/jenkins | 7,477 | [
"no_license"
] | [
{
"path": "playbooks/roles/jenkins/tasks/main.yml",
"content": "\n\n- name: Add Jenkins repository key\n ansible.builtin.get_url:\n url: https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key\n dest: /usr/share/keyrings/jenkins-keyring.asc\n mode: '0644'\n\n- name: Add Jenkins repository to sour... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1260,
"all_permissive": false
} |
ansible_role | bishal-bahadur-poudel-chhetri/ansible_server | 01a6751c01a93d659ecc3846b0908229f1ce40af | 0 | playbooks/roles/kubernetes_master | 7,477 | [
"no_license"
] | [
{
"path": "playbooks/roles/kubernetes_master/tasks/main.yml",
"content": "\n\n- name: Pull the CRI\n shell: |\n kubeadm config images pull --cri-socket unix:///run/containerd/containerd.sock\n- name: initilize the kubernetes cluster\n shell: | \n kubeadm init --pod-network-cidr=192.168.0.0/16\n- n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1278,
"all_permissive": false
} |
ansible_role | bishal-bahadur-poudel-chhetri/ansible_server | 01a6751c01a93d659ecc3846b0908229f1ce40af | 0 | playbooks/roles/kubernetes_slave | 7,477 | [
"no_license"
] | [
{
"path": "playbooks/roles/kubernetes_slave/tasks/main.yml",
"content": "- name: Fetch token file from master to slave\n fetch:\n src: /tmp/kube_join_command.txt\n dest: /tmp/kube_join_command.txt\n flat: yes\n delegate_to: 172.16.17.32\n\n- name: Check if the token file exists on the slave\n st... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 539,
"all_permissive": false
} |
ansible_role | yas-nyan/ansible_frr_installer | 41f7c99ed06afc6f25991a174c2689f6544c2b02 | 0 | roles/frr_installer | 7,477 | [
"no_license"
] | [
{
"path": "roles/frr_installer/handlers/main.yml",
"content": "- name: full restart frr\n service:\n name: frr\n state: restarted\n enabled: true\n become: true\n ignore_errors: true\n listen: \"restart frr\"\n\n- name: start frr\n service:\n name: frr\n state: started\n enabled: true... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 882,
"all_permissive": false
} |
ansible_role | Dattak22/ansible | 078560f11d09afa26d1140d84df4d518f3790d92 | 0 | roles/app-server-role | 7,477 | [
"no_license"
] | [
{
"path": "roles/app-server-role/tasks/main.yaml",
"content": "- name: install java\n yum:\n name: java-11-openjdk\n state: latest\n\n#- name: download tomcat\n# get_url:\n# url: \"{{ URL }}\"\n# dest: /opt\n\n- name: extract tomcat\n unarchive:\n src: \"{{ URL }}\"\n dest: /opt\n re... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1272,
"all_permissive": false
} |
ansible_role | Dattak22/ansible | 078560f11d09afa26d1140d84df4d518f3790d92 | 0 | roles/web-server-role | 7,477 | [
"no_license"
] | [
{
"path": "roles/web-server-role/tasks/main.yaml",
"content": "- name: install httpd\n package:\n name: \"{{ PKG }}\"\n state: present\n\n- name: proxy conf\n copy:\n src: proxy.conf\n dest: /etc/httpd/conf.d/proxy.conf\n notify: \n - restart service\n\n- name: permissive selinux\n selinu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 474,
"all_permissive": false
} |
ansible_role | sameg14/symfony-jobs-queues-automation | 6d67c7a2902a7fc0dd7a3a3a9cd5ae5b4abc92f7 | 2 | infrastructure/roles/app | 7,477 | [
"no_license"
] | [
{
"path": "infrastructure/roles/app/tasks/main.yml",
"content": "---\n- name: Ensure sessions has correct perms\n file: dest={{item}} owner={{ ansible_ssh_user }} group={{ ansible_ssh_user }} state=directory mode=0775\n with_items:\n - /var/www/app/var/sessions\n - /tmp/cache\n - /tmp/logs\n bec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1049,
"all_permissive": false
} |
ansible_role | sameg14/symfony-jobs-queues-automation | 6d67c7a2902a7fc0dd7a3a3a9cd5ae5b4abc92f7 | 2 | infrastructure/roles/nginx | 7,477 | [
"no_license"
] | [
{
"path": "infrastructure/roles/nginx/tasks/main.yml",
"content": "---\n- name: install nginx web server\n apt: pkg=nginx state=installed\n become: True\n\n- name: apply nginx server and virtualhost config templates\n template: src={{ item.src }} dest={{ item.dest }} mode=0644 owner=root group=root\n b... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2029,
"all_permissive": false
} |
ansible_role | sameg14/symfony-jobs-queues-automation | 6d67c7a2902a7fc0dd7a3a3a9cd5ae5b4abc92f7 | 2 | infrastructure/roles/php | 7,477 | [
"no_license"
] | [
{
"path": "infrastructure/roles/php/templates/.bash_profile.j2",
"content": "alias l='ls -w'\nalias ll='ls -hal'\nalias s='git status'\nalias p='git pull'\nalias d='git diff head'\nalias pu='git push'\nalias b='git branch'\nalias c='git commit -a'\nalias r='sudo service nginx restart; sudo service php7.0-fp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 3837,
"all_permissive": false
} |
ansible_role | sameg14/symfony-jobs-queues-automation | 6d67c7a2902a7fc0dd7a3a3a9cd5ae5b4abc92f7 | 2 | infrastructure/roles/redis | 7,477 | [
"no_license"
] | [
{
"path": "infrastructure/roles/redis/tasks/main.yml",
"content": "---\n- name: Add python software properties\n apt:\n pkg=\"python-software-properties\"\n state=present\n become: True\n\n- name: Add redis repo\n apt_repository: repo='ppa:rwky/redis'\n become: True\n\n- name: Update apt packages\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 802,
"all_permissive": false
} |
ansible_role | sameg14/symfony-jobs-queues-automation | 6d67c7a2902a7fc0dd7a3a3a9cd5ae5b4abc92f7 | 2 | infrastructure/roles/resque | 7,477 | [
"no_license"
] | [
{
"path": "infrastructure/roles/resque/templates/resque-default.conf.j2",
"content": "[program:php-resque-default]\n\n{% if symfony_env == \"dev\" %}\nnumprocs=2\n{% else %}\nnumprocs=5\n{% endif %}\n\ncommand=php /var/www/app/vendor/chrisboulton/php-resque/resque.php\n\ndirectory=/var/www/app\nprocess_name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2247,
"all_permissive": false
} |
ansible_role | WebSecDetectives/fluffy-plushies-webshop | 15a056ef5b1ac77dd25d5764357b3d07990cfe0b | 0 | ansible/playbooks/roles/deploy_from_github | 7,482 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/deploy_from_github/tasks/main.yml",
"content": "---\n# Tasks for deploy_from_github role\n\n- name: Ensure destination directory exists\n file:\n path: \"{{ app_path }}\"\n state: directory\n owner: \"{{ app_owner }}\"\n group: \"{{ app_group }}\"\n mode: '... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 3757,
"all_permissive": false
} |
ansible_role | WebSecDetectives/fluffy-plushies-webshop | 15a056ef5b1ac77dd25d5764357b3d07990cfe0b | 0 | ansible/playbooks/roles/docker | 7,482 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/docker/tasks/main.yml",
"content": "---\n# This playbook contains common plays that will be run on all nodes.\n# ansible_become: yes\n\n# Docker installation section (following official Docker instructions)\n- name: Ensure Docker prerequisites are installed\n apt:\n na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2076,
"all_permissive": false
} |
ansible_role | WebSecDetectives/fluffy-plushies-webshop | 15a056ef5b1ac77dd25d5764357b3d07990cfe0b | 0 | ansible/playbooks/roles/firewall | 7,482 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/firewall/handlers/main.yml",
"content": "---\n# Handlers for the firewall role\n\n- name: reload ufw\n command: ufw reload\n become: yes\n- name: reload ufw\n ufw:\n state: reloaded\n become: yes\n tags: ufw\n\n\n",
"license_type": "no_license",
"detected_l... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1845,
"all_permissive": false
} |
ansible_role | WebSecDetectives/fluffy-plushies-webshop | 15a056ef5b1ac77dd25d5764357b3d07990cfe0b | 0 | ansible/playbooks/roles/user | 7,482 | [
"no_license"
] | [
{
"path": "ansible/playbooks/roles/user/defaults/main.yml",
"content": "---\n# Default variables for user role\n\n# Required variables\n# user_name: username\n# user_password: <PASSWORD>\n# user_default_groups: list of groups\n\n# Optional variables\n# user_state: present or absent (default: present)\n# use... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 8094,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/dotfiles | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/dotfiles/tasks/main.yml",
"content": "---\n- name: git clone dotfiles repository\n become: no\n git:\n repo=<EMAIL>:shifumin/dotfiles.git\n dest=/home/{{ user }}/dotfiles\n accept_hostkey=yes\n\n- name: put a symbolic link to dotfiles\n become: no\n shell: >\n {{ it... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 328,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/git | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/git/tasks/main.yml",
"content": "---\n- name: install dependence packages\n yum: name={{ item }} state=latest\n with_items:\n - gcc\n - curl-devel\n - expat-devel\n - gettext-devel\n - openssl-devel\n - zlib-devel\n - perl-ExtUtils-MakeMaker\n tags:\n - ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1235,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/mysql | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/mysql/tasks/main.yml",
"content": "---\n- name: install MySQL\n yum: name={{ item }} state=latest\n with_items:\n - mysql\n - mysql-devel\n - mysql-server\n - MySQL-python\n tags:\n - mysgl\n - yum\n\n- name: start mysql-server\n service: name=mysqld state=st... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 552,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/nginx | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/nginx/tasks/main.yml",
"content": "---\n- name: install Nginx\n yum: name={{ item }} state=latest\n with_items:\n - nginx\n tags:\n - nginx\n\n- name: start nginx\n service: name=nginx state=started enabled=yes\n tags:\n - nginx\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 197,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/nodejs | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/nodejs/tasks/main.yml",
"content": "---\n- name: install Node.js packages\n yum: name={{ item }} state=latest enablerepo=epel\n with_items:\n - nodejs\n - npm\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 126
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 126,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/peco | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/peco/tasks/main.yml",
"content": "---\n- name: download peco source\n get_url:\n url=https://github.com/peco/peco/releases/download/v0.3.3/peco_linux_amd64.tar.gz\n dest=\"{{ src_dir }}/peco_linux_amd64.tar.gz\"\n\n- name: extract peco source\n unarchive:\n src=\"{{ src_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 473,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/ruby | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/ruby/tasks/rsense.yml",
"content": "---\n- name: install dependence packages\n yum: name={{ item }} state=latest\n with_items:\n - java-1.8.0-openjdk\n tags:\n - yum\n\n- name: download RSense source\n get_url:\n url=http://cx4a.org/pub/rsense/rsense-0.3.tar.bz2\n ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1857,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/tmux | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/tmux/tasks/main.yml",
"content": "---\n- include: libevent.yml\n- include: tmux.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 48
},
{
"path": "playbook/roles/tmux/tasks/libevent.yml",
"content": "---\n- name: download libevent ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1388,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/vim | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/vim/tasks/main.yml",
"content": "---\n- name: install dependence packages\n yum: name={{ item }} state=latest\n with_items:\n - lua-devel\n - ncurses-devel\n - mercurial\n - ctags\n tags:\n - yum\n\n- name: hg clone Vim repository\n hg:\n repo=https://vim.goo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 918,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/yum_install | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/yum_install/tasks/main.yml",
"content": "---\n- name: install basic packages\n yum: name={{ item }} state=present\n with_items:\n - curl\n - wget\n - gcc\n - make\n - libselinux-python\n - ruby-devel\n - readline-devel\n - ncurses-devel\n - gdbm-devel\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 508,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/yum_repo | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/yum_repo/tasks/mysql.yml",
"content": "---\n- name: set yum repository for MySQL\n yum: name=https://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm state=present\n notify: yum update\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes"... | {
"task_files": 9,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 9,
"total_bytes": 2250,
"all_permissive": false
} |
ansible_role | shifumin/vagrant-ansible-centos | 5833eb3483c65b76b8efbda489bd95fad1e126d6 | 2 | playbook/roles/zsh | 7,482 | [
"no_license"
] | [
{
"path": "playbook/roles/zsh/tasks/main.yml",
"content": "---\n- name: install dependence packages\n yum: name={{ item }} state=latest\n with_items:\n - ncurses-devel\n tags:\n - yum\n\n- name: download zsh source\n get_url:\n url=http://sourceforge.net/projects/zsh/files/zsh/{{ zsh_ver }}/zs... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 838,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/ansible-venv | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/ansible-venv/tasks/main.yml",
"content": "- name: Install python3-pip\n ansible.builtin.apt:\n name: python3-pip\n install_recommends: false\n\n- name: Install python3-venv\n ansible.builtin.apt:\n name: python3-venv\n install_recommends: false\n\n- name: Set up virtua... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 561,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/argocd-ensure-sync | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/argocd-ensure-sync/tasks/main.yml",
"content": "- name: argocd | get ArgoCD token\n block:\n - name: argocd | get token\n ansible.builtin.uri:\n url: \"https://localhost:8080/api/v1/session\"\n method: POST\n headers:\n Content-Type: \"applicat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2045,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/ceph-rgw | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/ceph-rgw/tasks/main.yml",
"content": "- name: Install radosgw\n ansible.builtin.apt:\n name: radosgw\n install_recommends: false\n\n- name: Check if keyring already exists\n ansible.builtin.stat:\n path: /etc/pve/priv/ceph.client.radosgw.gateway.keyring\n register: keyri... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1933,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/destroy-kubernetes-cluster | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/destroy-kubernetes-cluster/tasks/main.yml",
"content": "- name: Import config variables\n ansible.builtin.include_role:\n name: proxmox-api\n public: true\n\n- name: \"Stop all VMs\"\n community.general.proxmox_kvm:\n api_host: \"{{ proxmox_api_host }}\"\n api_user: \"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 886,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/haproxy-k8s-api | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/haproxy-k8s-api/templates/keepalived.conf.j2",
"content": "! Configuration File for keepalived\nglobal_defs {\n router_id LVS_DEVEL\n max_auto_priority 8\n script_user nobody\n enable_script_security\n}\nvrrp_script check_apiserver {\n script \"/etc/keepalived/check_api... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 6261,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/k3s-base | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/k3s-base/tasks/main.yml",
"content": "- name: Ensure /usr/local/bin exists\n ansible.builtin.file:\n path: /usr/local/bin\n state: directory\n mode: '0755'\n\n- name: Download k3s\n ansible.builtin.get_url:\n url: \"https://github.com/k3s-io/k3s/releases/download/v1.32... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1391,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kube-bootstrap-argocd | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kube-bootstrap-argocd/tasks/main.yml",
"content": "# Import github variables from the common role\n- name: \"Import github variables\"\n ansible.builtin.include_role:\n name: github\n public: true\n\n- name: Ensure kubectl proxy is running\n ansible.builtin.uri:\n url: 'h... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 8449,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kube-bootstrap-cilium | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kube-bootstrap-cilium/tasks/main.yml",
"content": "# Directly use the cilium CLI to instal cilium the first time. The\n# real cilium installation will happen when argocd puts the\n# customizations on using the cilium helm chart. However, argocd\n# itself can't be scheduled until we ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 547,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kube-bootstrap-rook | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kube-bootstrap-rook/tasks/main.yml",
"content": "- name: Obtain ceph resources\n block:\n - name: Download rook-ceph create-external-cluster-resources.py\n ansible.builtin.get_url:\n url: https://raw.githubusercontent.com/rook/rook/v1.13.3/deploy/examples/create-exte... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2804,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubeadm-get-token | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubeadm-get-token/tasks/main.yml",
"content": "- name: Get k8s join command\n block:\n - name: Create join token\n ansible.builtin.shell: kubeadm token create --print-join-command --ttl=5m --description=\"Created by ansible/kubeadm-get-token\"\n register: join_command_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 978,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubeadm-init | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubeadm-init/tasks/main.yml",
"content": "- name: Install haproxy if in stacked mode\n ansible.builtin.include_role:\n name: haproxy-k8s-api\n\n- name: Initialize k8s cluster\n shell: kubeadm init --pod-network-cidr=10.244.0.0/16 --service-cidr=10.254.240.0/20 --skip-token-prin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2712,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubeadm-join-kubelet | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubeadm-join-kubelet/tasks/main.yml",
"content": "- name: Get token\n ansible.builtin.include_role:\n name: kubeadm-get-token\n public: true\n# Uncomment this to force re-join the cluster\n# - name: Delete marker\n# file:\n# path: /root/node-joined\n# state: absent\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 464,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubernetes-base | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubernetes-base/handlers/main.yml",
"content": "- name: restart containerd\n service: name=containerd state=restarted\n\n- name: reload modules\n service: name=systemd-modules-load state=restarted\n\n- name: reload sysctl\n ansible.builtin.command:\n cmd: sysctl --system\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3654,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubernetes-cluster | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubernetes-cluster/templates/cloud-init.yml.j2",
"content": "#cloud-config\npackage_update: true\npackage_upgrade: true\n\nuser: root\nssh_authorized_keys:\n - {{ root_authorized_key }}\n# No, really, cloud-init, we *do* want ssh as root. We don't believe\n# in sudo for automation ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1696,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/kubernetes-master | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/kubernetes-master/tasks/main.yml",
"content": "# Install cilium\n- name: Install cilium\n block:\n - name: Download cilium\n ansible.builtin.get_url:\n url: https://github.com/cilium/cilium-cli/releases/download/v0.16.10/cilium-linux-amd64.tar.gz\n checksum: \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 511,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/nas-samba | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/nas-samba/templates/smb.conf.j2",
"content": "# This is the main Samba configuration file. You should read the\n# smb.conf(5) manual page in order to understand the options listed\n# here. Samba has a huge number of configurable options most of which \n# are not shown in this exampl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 4855,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/nas-skel | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/nas-skel/templates/README.j2",
"content": "# Welcome to {{ansible_hostname}}\n\n## About\n\nThis is a shared storage server with access over SSH, and if on the\nlocal network, CIFS (SMB).\n\n## Logging in over ssh\n\nYour user account does not have password. SSH authentication is on... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2117,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/nas-users | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/nas-users/tasks/main.yml",
"content": "- name: Create user accounts\n ansible.builtin.user:\n name: \"{{ item.username }}\"\n uid: \"{{ item.uid }}\"\n password_lock: true\n create_home: false\n comment: \"{{ item.gecos }}\"\n shell: \"/bin/bash\"\n with_items: \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 473,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/proxmox-api | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/proxmox-api/defaults/main.yml",
"content": "# Hostname for accessing the Proxmox API. Defaults to localhost.\nproxmox_api_host: \"127.0.0.1\"\n\n# User for which the API token and secret apply. By default assumed to\n# be root, provided by the local PAM instance.\nproxmox_api_user: ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2012,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/sync-apps | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/sync-apps/tasks/main.yml",
"content": "- name: Sync argocd\n include_role:\n name: argocd-ensure-sync\n vars:\n argocd_app: argocd\n\n- name: Sync cilium\n include_role:\n name: argocd-ensure-sync\n vars:\n argocd_app: cilium\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 193,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/tune-network | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/tune-network/tasks/main.yml",
"content": "- name: Install iperf2 and iperf3\n ansible.builtin.apt:\n pkg:\n - iperf\n - iperf3\n\n- name: Tune networking\n block:\n - name: Configure sysctl\n ansible.builtin.copy:\n src: sysctl.conf\n dest: /etc/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 671,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/vm-base | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/vm-base/tasks/main.yml",
"content": "- name: Install qemu-guest-agent\n ansible.builtin.apt:\n name: qemu-guest-agent\n state: present\n\n- name: Enable qemu-guest-agent\n ansible.builtin.systemd:\n name: qemu-guest-agent\n enabled: yes\n masked: no\n\n- name: Start... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 716,
"all_permissive": false
} |
ansible_role | achernya/homelab | fb251f071da9ec41b9c7f0d0bc03e3d3e1e6fdc8 | 0 | ansible/roles/vm-from-template | 7,482 | [
"no_license"
] | [
{
"path": "ansible/roles/vm-from-template/tasks/main.yml",
"content": "# Import proxmox API variables from the common role\n- name: \"{{ target_vm_name }} | import config variables\"\n ansible.builtin.include_role:\n name: proxmox-api\n public: true\n\n- name: \"{{ target_vm_name }} | clone from base... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1939,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.