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
antdrums/docklands-ansible
3f7bde1279bed7f5f80f71a2cdf042258b9598a3
0
roles/nginx
457
[ "no_license" ]
[ { "path": "roles/nginx/tasks/main.yml", "content": "---\n# This playbook will deploy the nginx reverse proxy container. It requires docker to be installed (by running the docker module first)\n\n- name: Ensure Docker is started\n service: name=docker enabled=yes state=started\n\n- name: Fetch and deploy do...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 551, "all_permissive": false }
ansible_role
antdrums/docklands-ansible
3f7bde1279bed7f5f80f71a2cdf042258b9598a3
0
roles/node_app
457
[ "no_license" ]
[ { "path": "roles/node_app/tasks/main.yml", "content": "---\n# This playbook will deploy the node app container. It requires docker to be installed (by running the docker module first)\n\n- name: Ensure Docker started\n service: name=docker enabled=yes state=started\n\n- name: Fetch and deploy docker node c...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 495, "all_permissive": false }
ansible_role
ykicisk/centos7_dev
43c1f55d46a9efb020e58a2e5de769bd0520270d
0
ansible/roles/common
457
[ "no_license" ]
[ { "path": "ansible/roles/common/tasks/vim.yaml", "content": "---\n- name: install dependencies for vim\n yum: name={{item}} state=latest\n with_items:\n - lua-devel\n - python-devel\n - ruby-devel\n - ncurses-devel\n become: yes\n- name: download vim source file\n unarchive: src={{vimurl}} d...
{ "task_files": 4, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 5, "total_bytes": 1946, "all_permissive": false }
ansible_role
francomile/ansible-admin-user
72fb7c43c0f5abfeba5f4a04ab59d40e828918cb
0
roles/admin-user
457
[ "no_license" ]
[ { "path": "roles/admin-user/tasks/main.yml", "content": "---\n# These tasks will create and setup a Admin user with full privileges on the system (Debian)\n\n- name: Create Admin user\n user:\n name: admin\n comment: \"Admin user\"\n shell: /bin/bash\n\n- name: Add user admin to sudoers file\n li...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 721, "all_permissive": false }
ansible_role
Youssef-Wahba/aws-k8s-jenkins
b9577bbb951a9ea25b9eca91a1083f8ed7bf751b
0
ansible/roles/aws-cli
457
[ "no_license" ]
[ { "path": "ansible/roles/aws-cli/tasks/main.yaml", "content": "---\n- name: Update apt package manager\n ansible.builtin.apt:\n update_cache: yes\n\n- name: Install prerequisites (unzip and curl)\n ansible.builtin.apt:\n name:\n - unzip\n - curl\n state: present\n\n- name: Download AWS ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 932, "all_permissive": false }
ansible_role
Youssef-Wahba/aws-k8s-jenkins
b9577bbb951a9ea25b9eca91a1083f8ed7bf751b
0
ansible/roles/docker
457
[ "no_license" ]
[ { "path": "ansible/roles/docker/tasks/main.yaml", "content": "---\n- name: Update the apt package manager\n ansible.builtin.apt:\n update_cache: yes\n\n- name: Install prerequisites for Docker\n apt:\n name:\n - apt-transport-https\n - ca-certificates\n - curl\n - gnupg\n - ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1395, "all_permissive": false }
ansible_role
Youssef-Wahba/aws-k8s-jenkins
b9577bbb951a9ea25b9eca91a1083f8ed7bf751b
0
ansible/roles/jenkins
457
[ "no_license" ]
[ { "path": "ansible/roles/jenkins/tasks/main.yml", "content": "---\n- name: Install Fontconfig and OpenJDK 17\n ansible.builtin.apt:\n name:\n - fontconfig\n - openjdk-17-jre\n state: present\n\n- name: Remove existing Jenkins GPG key (if exists)\n ansible.builtin.apt_key:\n url: https:/...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1347, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
automated-db-backups/ansible/roles/backup
457
[ "no_license" ]
[ { "path": "automated-db-backups/ansible/roles/backup/tasks/main.yml", "content": "---\n# 역할: MongoDB 데이터를 특정 디렉터리에 백업하는 작업\n\n- name: Ensure backup directory exists\n # 백업 파일이 저장될 디렉터리를 생성\n file:\n path: /var/backups/mongo\n state: directory # 디렉터리 상태를 유지\n mode: '0755' # 권한 설정: 소유자 읽기/쓰...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 657, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
automated-db-backups/ansible/roles/data
457
[ "no_license" ]
[ { "path": "automated-db-backups/ansible/roles/data/tasks/main.yml", "content": "---\n# 역할: MongoDB에 더미 데이터를 삽입하는 작업\n\n- name: Insert dummy data into MongoDB\n # mongo CLI를 사용하여 mydatabase에 데이터를 삽입\n command: mongoimport --db jsondb --collection users --file user.json --jsonArray\n # 명령어 설명:\n # - `--db...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 586, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
automated-db-backups/ansible/roles/db
457
[ "no_license" ]
[ { "path": "automated-db-backups/ansible/roles/db/tasks/main.yml", "content": "---\n# MongoDB 설치 및 설정을 위한 Ansible tasks 파일\n\n# MongoDB를 설치하기 위한 사전 패키지를 설치합니다.\n- name: Install Base Packages\n ansible.builtin.apt:\n name: \n - gnupg\n - curl\n state: present\n\n# MongoDB의 GPG 키를 다운로드하고 dearm...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1164, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
configuration-management/my-ansible/roles/app
457
[ "no_license" ]
[ { "path": "configuration-management/my-ansible/roles/app/tasks/main.yml", "content": "# 파일 업로드, 압축 해제, 권한 설정\n\n- name: Upload website tarball\n copy:\n src: /path/to/website.tar.gz # 로컬에서 업로드할 파일 경로\n dest: /tmp/website.tar.gz # 서버에서의 대상 경로\n\n- name: Extract website\n unarchive:\n src: /tm...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 616, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
configuration-management/my-ansible/roles/base
457
[ "no_license" ]
[ { "path": "configuration-management/my-ansible/roles/base/tasks/main.yml", "content": "# 패키지 업데이트, 유틸리티 설치, 보안 서비스 설정(Fail2Ban)\n\n- name: Update all Packages\n apt:\n update_cache: yes # 패키지 목록을 업데이트\n upgrade: dist # 모든 패키지를 최신 상태로 업그레이드\n when: ansible_os_family == \"Debian\" # Debian 계열에서만 실행\n\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 586, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
configuration-management/my-ansible/roles/nginx
457
[ "no_license" ]
[ { "path": "configuration-management/my-ansible/roles/nginx/tasks/main.yml", "content": "# Nginx 설치, 설정 파일 배포, 서비스 관리\n\n- name: Install NGINX\n apt:\n name: nginx # 설치할 패키지 이름\n state: present # 설치 상태 유지\n when: ansible_os_family == \"Debian\" # Debian 계열에서만 실행\n\n- name: Ensure NGINX is running\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 525, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
configuration-management/my-ansible/roles/ssh
457
[ "no_license" ]
[ { "path": "configuration-management/my-ansible/roles/ssh/tasks/main.yml", "content": "# 디렉토리 생성, 키 업로드, 권한 설정\n\n- name: Create .ssh directory\n file:\n path: /root/.ssh # .ssh 디렉토리 생성 경로\n state: directory # 디렉토리 생성\n mode: '0700' # 디렉토리 권한 (소유자만 접근 가능)\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 554, "all_permissive": false }
ansible_role
rnjstngks/DevOps-RoadMap
1939f28e6f0938e45cc555472712c064706a52e4
2
node.js-service-deployment/ansible/roles/app
457
[ "no_license" ]
[ { "path": "node.js-service-deployment/ansible/roles/app/tasks/main.yml", "content": "#- name: Update Packages # apt update\n# apt:\n# update_cache: yes # 패키지 목록을 업데이트\n# upgrade: dist # 모든 패키지를 최신 상태로 업그레이드\n# when: ansible_os_family == \"Debian\" # Debian 계열에서만 실행\n\n- name: Install utilities # 기본 ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2646, "all_permissive": false }
ansible_role
DoddaSrinivasan/ansible_getting_started
3feea41bbd004ecdcdaa2f9bc4462ecb05160325
0
ansible/roles/apache2
457
[ "no_license" ]
[ { "path": "ansible/roles/apache2/tasks/main.yml", "content": "---\n- name: Install Web Components\n yum: name={{item}} state=present\n with_items:\n - httpd\n - mod_ssl\n - libselinux-python", "license_type": "no_license", "detected_licenses": [], "size_bytes": 130 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 130, "all_permissive": false }
ansible_role
DoddaSrinivasan/ansible_getting_started
3feea41bbd004ecdcdaa2f9bc4462ecb05160325
0
ansible/roles/demo_app
457
[ "no_license" ]
[ { "path": "ansible/roles/demo_app/tasks/main.yml", "content": "---\n- name: Configure apache2 to listen to port 9001\n lineinfile:\n dest: /etc/httpd/conf/httpd.conf\n regexp: '^Listen'\n line: 'Listen 9001'\n notify: Restart apache2\n\n- name: Configure Default Document root\n lineinfile:\n ...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 670, "all_permissive": false }
ansible_role
DoddaSrinivasan/ansible_getting_started
3feea41bbd004ecdcdaa2f9bc4462ecb05160325
0
ansible/roles/nginx
457
[ "no_license" ]
[ { "path": "ansible/roles/nginx/tasks/main.yml", "content": "---\n- name: Install Nginx\n yum: name={{item}} state=present\n with_items: \n - nginx\n\n- name: Configure Nginx Sites\n template:\n src: nginx.conf.j2\n dest: /etc/nginx/nginx.conf\n mode: 0755\n notify:\n - Restart Nginx\n\n- ...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 1242, "all_permissive": false }
ansible_role
entebox/ansible-examples
24e158fb0342444b21a1ba23a6b09472b24f19de
0
Ansible/roles/common
444
[ "no_license" ]
[ { "path": "Ansible/roles/common/tasks/main.yml", "content": "---\n# tasks file for common\n- name: Install vim and zip\n become: yes\n apt:\n pkg:\n - zip\n - vim\n update_cache: true\n state: present\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 150...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 150, "all_permissive": false }
ansible_role
entebox/ansible-examples
24e158fb0342444b21a1ba23a6b09472b24f19de
0
Ansible/roles/deploy
444
[ "no_license" ]
[ { "path": "Ansible/roles/deploy/tasks/main.yml", "content": "---\n# tasks file for deploy\n- name: add lines to the file\n copy:\n dest: \"/tmp/test1.txt\"\n content: |\n Hello World\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
rnrbarbosa/odoo-ansible-docker-traefik
aab428cc99558c2022d30120c660d7858d8f0271
0
roles/odoo
444
[ "no_license" ]
[ { "path": "roles/odoo/tasks/main.yml", "content": "---\n- name: Copy addons to Server - Deploy Decision that addons directories are not on Docker Volume for easier update!!! \n copy:\n src: files/addons\n dest: /app/\n\n- name: Create Odoo volume\n docker_volume:\n name: odoo-web-data\n\n- name: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 946, "all_permissive": false }
ansible_role
rnrbarbosa/odoo-ansible-docker-traefik
aab428cc99558c2022d30120c660d7858d8f0271
0
roles/postgresql
444
[ "no_license" ]
[ { "path": "roles/postgresql/tasks/main.yml", "content": "---\n- name: Create PGDATA volume\n docker_volume:\n name: odoo-db-data\n\n- name: Create PGBACKUP volume\n docker_volume:\n name: odoo-db-backup\n\n- name: Create database Container\n docker_container:\n name: 'db' # Role 'odoo' depends ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 893, "all_permissive": false }
ansible_role
rnrbarbosa/odoo-ansible-docker-traefik
aab428cc99558c2022d30120c660d7858d8f0271
0
roles/traefik
444
[ "no_license" ]
[ { "path": "roles/traefik/templates/traefik.toml", "content": "logLevel = \"ERROR\"\ndebug = true\n\ndefaultEntryPoints = [\"https\",\"http\"]\n\n[entryPoints]\n [entryPoints.http]\n address = \":80\"\n [entryPoints.http.redirect]\n entryPoint = \"https\"\n [entryPoints.https]\n address = \":443\"\...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 2660, "all_permissive": false }
ansible_role
RFC2516/clab-bgp
ec85c082a8d5b4d7f18cfeca395dc6fd2f39cb26
2
roles/addresses
444
[ "no_license" ]
[ { "path": "roles/addresses/tasks/main.yaml", "content": "- name: configure ipv4 addresses on routers\n cisco.ios.ios_l3_interfaces:\n config:\n - name: \"{{ item.name }}\"\n ipv4:\n - address: \"{{ item.ipv4 }}\"\n state: replaced\n loop: \"{{ interfaces }}\"\n loop_control:\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 263, "all_permissive": false }
ansible_role
RFC2516/clab-bgp
ec85c082a8d5b4d7f18cfeca395dc6fd2f39cb26
2
roles/adhoc
444
[ "no_license" ]
[ { "path": "roles/adhoc/tasks/main.yaml", "content": "- name: base line commands\n cisco.ios.ios_config:\n lines: \"{{ lines }}\"\n\n- name: bgp line commands\n cisco.ios.ios_config:\n lines: \"{{ bgp_lines }}\"\n parents: router bgp {{ bgp_config.as_number }}\n when: (bgp_config is defined) and ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 265, "all_permissive": false }
ansible_role
RFC2516/clab-bgp
ec85c082a8d5b4d7f18cfeca395dc6fd2f39cb26
2
roles/bgp
444
[ "no_license" ]
[ { "path": "roles/bgp/tasks/main.yaml", "content": "- name: cleanup any existing bgp\n cisco.ios.ios_bgp_global:\n state: purged\n# when: bgp_config is defined\n\n- name: configure bgp\n cisco.ios.ios_bgp_global:\n config: \"{{ bgp_config }}\"\n state: replaced\n when: bgp_config is defined", ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 241, "all_permissive": false }
ansible_role
RFC2516/clab-bgp
ec85c082a8d5b4d7f18cfeca395dc6fd2f39cb26
2
roles/interfaces
444
[ "no_license" ]
[ { "path": "roles/interfaces/tasks/main.yaml", "content": "- name: configure interface up/down on routers.\n cisco.ios.ios_interfaces:\n config:\n - name: \"{{ item.name }}\"\n enabled: \"{{ item.enabled | default('true') }}\"\n state: replaced\n loop: \"{{ interfaces }}\"\n loop_control:\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 263, "all_permissive": false }
ansible_role
RFC2516/clab-bgp
ec85c082a8d5b4d7f18cfeca395dc6fd2f39cb26
2
roles/routes
444
[ "no_license" ]
[ { "path": "roles/routes/tasks/main.yaml", "content": "- name: configure static routes\n cisco.ios.ios_static_routes:\n config: \"{{ statics }}\"\n state: overridden\n when: statics is defined\n loop: \"{{ statics }}\"", "license_type": "no_license", "detected_licenses": [], "size_bytes"...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 163, "all_permissive": false }
ansible_role
said017/devops-tsel-practice
e7bc4d6f32066714a9618ea1fb7010fdd48027db
0
Ansible/gitlab_runner/roles/create_gitlab_runner
444
[ "no_license" ]
[ { "path": "Ansible/gitlab_runner/roles/create_gitlab_runner/templates/gitlab_runner.j2", "content": "Welcome to Ansible, {{ ansible_hostname }} !!\n\nThis gitlab-runner playbook was initiated on Aug, 17 2021\n\nRegards, \n{{ service_account }}", "license_type": "no_license", "detected_licenses": [],...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 523, "all_permissive": false }
ansible_role
said017/devops-tsel-practice
e7bc4d6f32066714a9618ea1fb7010fdd48027db
0
Ansible/gitlab_runner/roles/create_vm_runner
444
[ "no_license" ]
[ { "path": "Ansible/gitlab_runner/roles/create_vm_runner/tasks/main.yml", "content": "---\n- name: create a address for google instance\n gcp_compute_address:\n name: \"{{ vmname + '-address' }}\"\n region: \"{{ region }}\"\n project: \"{{ project_id }}\"\n auth_kind: \"{{ gcloud_auth }}\"\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2229, "all_permissive": false }
ansible_role
said017/devops-tsel-practice
e7bc4d6f32066714a9618ea1fb7010fdd48027db
0
Ansible/gitlab_runner/roles/provisioning_vm_runner
444
[ "no_license" ]
[ { "path": "Ansible/gitlab_runner/roles/provisioning_vm_runner/vars/main.yml", "content": "---\n# install_url: https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh\n# vm_prov_url: https://storage.cloud.google.com/erlangga-ervansyah/startup.sh\n\n# inventory for vm provisioning\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2709, "all_permissive": false }
ansible_role
said017/devops-tsel-practice
e7bc4d6f32066714a9618ea1fb7010fdd48027db
0
Ansible/gitlab_runner/roles/remove_gitlab_runner
444
[ "no_license" ]
[ { "path": "Ansible/gitlab_runner/roles/remove_gitlab_runner/handlers/main.yml", "content": "---\n# handlers file for gitlab_runner", "license_type": "no_license", "detected_licenses": [], "size_bytes": 37 }, { "path": "Ansible/gitlab_runner/roles/remove_gitlab_runner/vars/main.yml", ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 3, "total_bytes": 431, "all_permissive": false }
ansible_role
said017/devops-tsel-practice
e7bc4d6f32066714a9618ea1fb7010fdd48027db
0
Ansible/gitlab_runner/roles/remove_vm_runner
444
[ "no_license" ]
[ { "path": "Ansible/gitlab_runner/roles/remove_vm_runner/vars/main.yml", "content": "---\n# inventory for vm\nvmname: vm-group3-ansible-runner\nmachinetype: e2-medium\ndisktype: pd-standard\nsourceimage: \"projects/ubuntu-os-cloud/global/images/family/ubuntu-2004-lts\"\n\n# general variable for ansible inven...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 3179, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-apps/roles/keepalived
444
[ "no_license" ]
[ { "path": "deploy/ansible-apps/roles/keepalived/templates/conf.d/check_openresty.sh", "content": "#!/bin/bash\n\n# 创建 /etc/keepalived/down 标识文件则直接降级当前keepalived实例\n# 流量调试完毕后建议把 /etc/keepalived/down 移除\nif [ -f /etc/keepalived/down ]; then\n #echo \"$d DOWN as /etc/keepalived/down exist\" >> /var/log/keepal...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 7, "total_bytes": 4812, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-apps/roles/microservice
444
[ "no_license" ]
[ { "path": "deploy/ansible-apps/roles/microservice/vars/main.yml", "content": "---\nmicroservices:\n - { name: \"somersault-cloud-system\",\n service_id: \"system-server\",\n ignored: false,\n disabled: false,\n port: 49000,\n replicas: 1,\n docker_image_name: \"somersault-clou...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 13, "total_bytes": 18850, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-apps/roles/openresty
444
[ "no_license" ]
[ { "path": "deploy/ansible-apps/roles/openresty/defaults/main.yml", "content": "---\napps_openresty_dir: \"/data/openresty\"\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 42 }, { "path": "deploy/ansible-apps/roles/openresty/tasks/main.yml", "content": "---\n...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 2895, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-basic/roles/system
444
[ "no_license" ]
[ { "path": "deploy/ansible-basic/roles/system/tasks/main.yml", "content": "---\n- name: set_fact\n set_fact:\n install_cache_dir: /data/cache/tool_install\n install_tmp_dir: /data/tmp/tool_install\n\n- name: create data dir\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n state: directory\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1873, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-docker/roles/docker
444
[ "no_license" ]
[ { "path": "deploy/ansible-docker/roles/docker/tasks/docker_install.yml", "content": "---\n- name: set_fact\n set_fact:\n install_cache_dir: /data/cache/docker_install\n install_tmp_dir: /data/tmp/docker_install\n\n- name: create data dir\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n state...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 2446, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-docker/roles/import
444
[ "no_license" ]
[ { "path": "deploy/ansible-docker/roles/import/tasks/import_host_item.yml", "content": "---\n- name: set image_file_name\n set_fact:\n image_file_name: '{{image_file.repository|basename}}-{{image_file.tag}}-{{ansible_architecture}}.tar'\n\n- name: Check image_file exists\n stat:\n path: \"{{install_c...
{ "task_files": 5, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 6, "total_bytes": 5680, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-files/roles/download_image
444
[ "no_license" ]
[ { "path": "deploy/ansible-files/roles/download_image/tasks/download_image_arm64_Dockerfile.yml", "content": "---\n- name: set_fact\n set_fact:\n random_dir: \"{{ 99999999 | random | to_uuid }}\"\n\n- name: create data dir\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n state: directory\n loop...
{ "task_files": 4, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 6914, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-files/roles/download_package
444
[ "no_license" ]
[ { "path": "deploy/ansible-files/roles/download_package/tasks/download_package.yml", "content": "---\n- name: set_fact\n set_fact:\n package_file_dir: \"{{role_path}}/../../files/packages\"\n\n- name: \"create dir\"\n file:\n path: \"{{package_file_dir}}/{{package_file.source | dirname}}\"\n mode:...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1204, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-files/roles/link_image
444
[ "no_license" ]
[ { "path": "deploy/ansible-files/roles/link_image/tasks/main.yml", "content": "---\n- name: Include link_image task for x86_64\n include_tasks: link_image.yml\n vars:\n image_arch: \"x86_64\"\n image_file: \"{{item}}\"\n loop: \"{{image_files}}\"\n\n- name: Include link_image task for aarch64\n inc...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1161, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-files/roles/link_package
444
[ "no_license" ]
[ { "path": "deploy/ansible-files/roles/link_package/tasks/link_package.yml", "content": "---\n#- name: copy file to target\n# copy:\n# src: \"{{role_path}}/files/{{download_file.source}}\"\n# dest: \"{{role_path}}/../../../{{file_path}}\"\n# loop: \"{{ download_file.targets }}\"\n# loop_control:\n# ...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 893, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/minio
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/minio/tasks/main.yml", "content": "---\n- name: create data dir\n file:\n path: \"{{minio_dir}}\"\n state: directory\n\n- name: copy docker files\n template:\n src: \"{{item}}\"\n dest: \"{{minio_dir}}/{{item}}\"\n loop:\n - \"docker-compose.yml\"\n\...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 1338, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/nacos
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/nacos/templates/docker-compose.yml", "content": "# 前台运行: docker compose up\n# 后台运行: docker compose up -d\n# 重建容器运行: docker compose up -d --build\n# 显示构建信息运行: DOCKER_BUILDKIT=0 docker compose up -d --build\n# 删除容器: docker compose down\nversion: \"3.8\"\nservices:\n n...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 3690, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/redis
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/redis/defaults/main.yml", "content": "---\nredis_version: \"6.2.0\"\nredis_port: \"6379\"\nredis_exporter_port: \"9121\"\nredis_requirepass: <PASSWORD>\n\nredis_dir: \"/data/redis\"\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 1...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 2272, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/rocketmq
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/rocketmq/tasks/mqbroker.yml", "content": "---\n- name: setup master vars\n set_fact:\n rocketmq_mqbroker_name: \"{{inventory_hostname}}\"\n rocketmq_mqbroker_dirname: \"broker-master-{{inventory_hostname}}\"\n rocketmq_mqbroker_dir: \"{{rocketmq_dir}}/broker...
{ "task_files": 4, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 9, "total_bytes": 5611, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/sentinel
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/sentinel/templates/docker-compose.yml", "content": "version: '3'\nservices:\n redis-sentinel:\n image: \"redis:{{redis_version}}\"\n container_name: redis-sentinel\n restart: always\n ports:\n - \"{{sentinel_port}}:{{sentinel_port}}\"\n volumes:\n...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 1956, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-midware/roles/xxl_job
444
[ "no_license" ]
[ { "path": "deploy/ansible-midware/roles/xxl_job/defaults/main.yml", "content": "---\nxxl_job_admin_version: \"2.2.0\"\nxxl_job_dir: \"/data/xxl-job\"\n# 默认9090在有些系统systemd服务端口冲突\nxxl_job_port: \"9091\"\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 113 }, { "p...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 2385, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/initdata
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/initdata/templates/90_infra_update.sql", "content": "USE somersault_cloud_infra;\n\n-- ----------------------------\n-- Records of infra_data_source_config\n-- ----------------------------\nBEGIN;\n-- TODO 当前为固定密码,待优化密码为从明文密码参数动态加密方式\n{% for db in db_names %}\nINSERT IN...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 9, "total_bytes": 50790, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/initdb
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/initdb/files/.gitignore", "content": "init-db.sql", "license_type": "no_license", "detected_licenses": [], "size_bytes": 11 }, { "path": "deploy/ansible-mysql/roles/initdb/templates/init-db.sql", "content": "-- root账户登录执行如下语句创建应用访问user账密以及相关的data...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 3071, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/keepalived
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/keepalived/templates/conf.d/check_mysql.sh", "content": "#!/bin/bash\n\ncount=1\nwhile true; do\n mysql -u{{mysql_replication_name}} -p{{mysql_replication_passwd}} -e \"show status;\" >/dev/null 2>&1\n i=$?\n ps aux | grep mysqld | grep -v grep >/dev/null 2>&1\n j=$...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 8, "total_bytes": 5432, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/mysql_bin
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/mysql_bin/tasks/main.yml", "content": "---\n- name: Check if mysql file exists\n stat:\n path: \"{{software_install_path}}/mysql\"\n register: mysql_file_check\n\n- include_tasks: mysql_install.yml\n when: not mysql_file_check.stat.exists\n\n- name: Check if mysql...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 7886, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/mysql_docker
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/mysql_docker/defaults/main.yml", "content": "# 版本\nmysql_version: \"8.0.17\"\n\nmysql_root_host: \"localhost\"\nsoftware_install_path: \"/usr/local\"", "license_type": "no_license", "detected_licenses": [], "size_bytes": 94 }, { "path": "deploy/ansib...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 4032, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/replication-clear
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/replication-clear/tasks/replication-clear.yml", "content": "### value of mode must be one of: getprimary, getreplica, changeprimary, stopreplica, startreplica, resetprimary, resetreplica, resetreplicaall\n---\n- name: Get replication master addr from hosts config\n set...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 645, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-mysql/roles/replication-setup
444
[ "no_license" ]
[ { "path": "deploy/ansible-mysql/roles/replication-setup/tasks/main.yml", "content": "---\n\n- include_tasks: replication-setup.yml\n when:\n - groups['mysql'] | length >= 2", "license_type": "no_license", "detected_licenses": [], "size_bytes": 87 }, { "path": "deploy/ansible-mysql/ro...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 2289, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/alertmanager
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/alertmanager/templates/docker-compose.yml", "content": "version: '3.7'\n\nservices:\n alertmanager:\n image: \"prom/alertmanager:{{alertmanager_version}}\"\n container_name: prom_alertmanager\n restart: always\n hostname: alertmanager\n ports:\n - '{{...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 7, "total_bytes": 3473, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/grafana
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/grafana/defaults/main.yml", "content": "---\ngrafana_version: \"8.5.24\"\ngrafana_dir: \"/data/grafana\"\ngrafana_port: \"3000\"\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 81 }, { "path": "deploy/ansible-ops/roles/grafan...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 1633, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/loki
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/loki/templates/loki-config.yaml", "content": "#https://raw.githubusercontent.com/grafana/loki/v2.7.5/cmd/loki/loki-local-config.yaml\nauth_enabled: false\n\nserver:\n http_listen_port: 3100\n grpc_listen_port: 9096\n\ncommon:\n instance_addr: {{hostvars[inventory_hostn...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 5014, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/monitor
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/monitor/tasks/nacos-config.yml", "content": "---\n- name: \"create data dir for nacos config\"\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n state: directory\n loop:\n - \"{{apps_nacos_config_dir}}/DEFAULT_GROUP\"\n\n- name: Get nacos passwd from hosts con...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 5023, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/mysqld_exporter
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/mysqld_exporter/defaults/main.yml", "content": "---\nmysqld_exporter_version: \"v0.14.0\"\nmysqld_exporter_dir: \"/data/mysqld-exporter\"\nmysqld_exporter_port: \"9104\"\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 114 }, { ...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 1433, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/node_exporter
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/node_exporter/templates/node_exporter.service.j2", "content": "[Unit]\nDescription=NodeExporter\n\n[Service]\nTimeoutStartSec=0\nExecStart={{ node_exporter_bin_path }} --web.listen-address={{ node_exporter_host }}:{{ node_exporter_port }} {{ node_exporter_options }}\n\n[I...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 561, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/prometheus
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/prometheus/vars/main.yml", "content": "---\n# 和xxl-job默认端口冲突,微调端口号\nprometheus_port: 9092", "license_type": "no_license", "detected_licenses": [], "size_bytes": 48 }, { "path": "deploy/ansible-ops/roles/prometheus/tasks/main.yml", "content": "---\n...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 5741, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/promtail
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/promtail/templates/config.yml", "content": "server:\n http_listen_port: 9080\n grpc_listen_port: 0\n\npositions:\n filename: /tmp/positions.yaml\n\nclients:\n - url: http://{{loki_host}}:{{loki_port}}/loki/api/v1/push\n\nscrape_configs:\n\n {% if log_group == 'openre...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 4176, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/ansible-ops/roles/skywalking
444
[ "no_license" ]
[ { "path": "deploy/ansible-ops/roles/skywalking/tasks/main.yml", "content": "---\n- name: set_fact docker_image_repo\n set_fact:\n docker_image_repo: \"{{docker_repo_addr}}/\"\n when: docker_repo_addr | default('') != ''\n\n- name: create data dir\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n ...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 1564, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/optional/ansible-authorize/roles/sudoers
444
[ "no_license" ]
[ { "path": "deploy/optional/ansible-authorize/roles/sudoers/tasks/main.yml", "content": "---\n- name: create app group\n group:\n name: \"{{ app_group }}\"\n when: app_group is not none and app_group != \"root\"\n\n- name: create app user\n user:\n name: \"{{ app_user }}\"\n group: \"{{app_group}...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 540, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/optional/ansible-danger/roles/clean-data
444
[ "no_license" ]
[ { "path": "deploy/optional/ansible-danger/roles/clean-data/tasks/clean.yml", "content": "---\n- name: stop node_exporter service\n shell: \"systemctl stop node_exporter && systemctl disable node_exporter\"\n failed_when: false\n\n- name: disable keepalived service\n shell: \"systemctl disable keepalived\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 892, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/optional/ansible-danger/roles/clean-docker
444
[ "no_license" ]
[ { "path": "deploy/optional/ansible-danger/roles/clean-docker/tasks/clean.yml", "content": "---\n- name: disable docker service\n shell: \"systemctl disable docker\"\n retries: 3\n failed_when: false\n\n- name: docker rm -f all docker containers\n shell: \"docker rm -f $(docker ps -qa)\"\n retries: 3\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1206, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
deploy/optional/ansible-danger/roles/clean-mysql
444
[ "no_license" ]
[ { "path": "deploy/optional/ansible-danger/roles/clean-mysql/tasks/main.yml", "content": "---\n- include_tasks: clean.yml\n when: confirm_clean == \"yes\"", "license_type": "no_license", "detected_licenses": [], "size_bytes": 61 }, { "path": "deploy/optional/ansible-danger/roles/clean-my...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 765, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-basic/roles/system
444
[ "no_license" ]
[ { "path": "tools/ansible-basic/roles/system/tasks/main.yml", "content": "---\n- name: stop firewalld\n service:\n name: firewalld\n state: stopped\n enabled: no\n\n- name: stop selinux\n lineinfile:\n path: /etc/selinux/config\n regexp: '^SELINUX='\n line: SELINUX=disabled\n\n- name: set...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1840, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-docker/roles/docker
444
[ "no_license" ]
[ { "path": "tools/ansible-docker/roles/docker/tasks/docker.yml", "content": "---\n- name: check repo for tsinghua.edu.cn\n shell:\n cmd: \"grep tsinghua.edu.cn /etc/yum.repos.d/docker-ce.repo\"\n register: repo_result\n failed_when: false\n\n- name: yum config docker-ce.repo\n shell:\n cmd: \"{{ite...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1456, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-tools/roles/gogs
444
[ "no_license" ]
[ { "path": "tools/ansible-tools/roles/gogs/defaults/main.yml", "content": "---\ngogs_version: \"0.13.0\"\ngogs_dir: \"/tool/gogs\"\n\ngogs_port: \"3000\"\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 70 }, { "path": "tools/ansible-tools/roles/gogs/tasks/main.y...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 939, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-tools/roles/jenkins
444
[ "no_license" ]
[ { "path": "tools/ansible-tools/roles/jenkins/templates/docker-compose.yml", "content": "# 前台运行: docker compose up\n# 后台运行: docker compose up -d\n# 重建容器运行: docker compose up -d --build\n# 显示构建信息运行: DOCKER_BUILDKIT=0 docker compose up -d --build\n# 删除容器: docker compose down\n# 清除异常容器: docker rm $(sudo docker...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 5, "total_bytes": 8282, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-tools/roles/openresty
444
[ "no_license" ]
[ { "path": "tools/ansible-tools/roles/openresty/vars/main.yml", "content": "---\nhttp_port: 80\n\ndownload_url_prefix: http://doc.entdiy.xyz:8800/\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 69 }, { "path": "tools/ansible-tools/roles/openresty/tasks/copy.yml...
{ "task_files": 3, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 7, "total_bytes": 4727, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/ansible-tools/roles/registry
444
[ "no_license" ]
[ { "path": "tools/ansible-tools/roles/registry/defaults/main.yml", "content": "---\nregistry_version: \"2\"\nregistry_dir: \"/tool/registry\"\n\nregistry_port: \"5000\"\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 81 }, { "path": "tools/ansible-tools/roles/re...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 1615, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/extra/ansible-ddns/roles/ddns
444
[ "no_license" ]
[ { "path": "tools/extra/ansible-ddns/roles/ddns/tasks/main.yml", "content": "---\n# 本地环境变量,一般涉密的一些配置,添加到.gitignore不上传到资源库\n- name: Include local variables\n include_vars: local.yml\n ignore_errors: yes\n\n- name: create data dir\n file:\n path: \"{{item}}\"\n mode: \"0755\"\n state: directory\n ...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 4023, "all_permissive": false }
ansible_role
xautlx/somersault-cloud-devops
78ba90f06d5d9a1c5cee16d97e52fc185810b29f
1
tools/extra/ansible-frp/roles/frp
444
[ "no_license" ]
[ { "path": "tools/extra/ansible-frp/roles/frp/vars/linux.yml", "content": "---\nfrp_tmp_dir: /tmp\nfrp_systemd_dir: /usr/local/lib/systemd/system\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 69 }, { "path": "tools/extra/ansible-frp/roles/frp/.travis.yml", "...
{ "task_files": 3, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 14, "total_bytes": 10955, "all_permissive": false }
ansible_role
rmmenezes/net-firewall-openstack-terraform
9cecdf125896121e6e2bb22584e635cf7f460a62
0
ansible/roles/apache2
444
[ "no_license" ]
[ { "path": "ansible/roles/apache2/tasks/main.yml", "content": "---\n\n- name: 'Instala Apache2 on Linux (Debian)'\n apt:\n name: apache2\n state: latest\n become: yes\n when: ansible_os_family == 'Debian'\n\n- name: Instala Apache2 on Linux (CentOS)\n yum:\n name: httpd\n state: latest\n bec...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 732, "all_permissive": false }
ansible_role
rmmenezes/net-firewall-openstack-terraform
9cecdf125896121e6e2bb22584e635cf7f460a62
0
ansible/roles/git
444
[ "no_license" ]
[ { "path": "ansible/roles/git/tasks/main.yml", "content": "---\n\n- name: Instala Git (Debian)\n apt:\n name: git\n state: present\n become: yes\n when: ansible_os_family == 'Debian'\n\n- name: Instala Git (CentOS)\n yum:\n name: git\n state: present\n become: yes\n when: ansible_os_family ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 248, "all_permissive": false }
ansible_role
rmmenezes/net-firewall-openstack-terraform
9cecdf125896121e6e2bb22584e635cf7f460a62
0
ansible/roles/set-hostname
444
[ "no_license" ]
[ { "path": "ansible/roles/set-hostname/tasks/main.yml", "content": "---\n\n- name: Indica o hostname para a VM.\n shell: sudo hostnamectl set-hostname {{ hostname }}\n become: yes", "license_type": "no_license", "detected_licenses": [], "size_bytes": 109 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 109, "all_permissive": false }
ansible_role
rmmenezes/net-firewall-openstack-terraform
9cecdf125896121e6e2bb22584e635cf7f460a62
0
ansible/roles/update-upgrade
444
[ "no_license" ]
[ { "path": "ansible/roles/update-upgrade/tasks/main.yml", "content": "---\n\n- name: Update all packages (Debian)\n apt:\n upgrade: dist\n become: true\n when: ansible_os_family == 'Debian'\n\n- name: Upgrade all packages (CentOS)\n yum:\n name: '*'\n state: latest\n become: true\n when: ansib...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 250, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/calico
444
[ "no_license" ]
[ { "path": "roles/calico/files/images.sh", "content": "#!/bin/bash\n#set -ex && set -o pipefail\nregistry_addr=$1:5000\npushd $2\nfor i in `cat image_list` \ndo \n image_name=$(echo $i|cut -d \"/\" -f 3)\n echo $image_name\n echo $i\n ctr image pull $i\n ctr image tag $i ${registry_addr}/calico/${i...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 246255, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/check_k8s_get_node
444
[ "no_license" ]
[ { "path": "roles/check_k8s_get_node/tasks/main.yml", "content": "\n- name: run join other master\n shell: sudo chmod +x /opt/worker_join.sh && /opt/worker_join.sh\n ignore_errors: yes \n when: \"'worker' in group_names\"\n\n- name: test kubectl\n shell: kubectl get nodes\n register: kubectl_output\n w...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 515, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/containerd
444
[ "no_license" ]
[ { "path": "roles/containerd/tasks/main.yml", "content": "\n- name: copy repo file\n copy: src=/tmp/env-t.repo dest=/etc/yum.repos.d mode=644\n\n- name: install containerd.io\n yum:\n name:\n - \"{{ containerd_version }}\"\n state: latest\n enablerepo: env-t\n\n- name: copy modules-load.d\n co...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2018, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/env_preparation
444
[ "no_license" ]
[ { "path": "roles/env_preparation/tasks/main.yml", "content": "---\n- name: Disable SELinux\n ansible.posix.selinux:\n state: disabled\n\n- name: Stop service firewalld \n ansible.builtin.systemd_service:\n name: firewalld\n state: stopped\n enabled: false\n when: (ansible_facts['distribution'...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 4113, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/ha_module_install
444
[ "no_license" ]
[ { "path": "roles/ha_module_install/templates/keepalived.conf.j2", "content": "global_defs {\n router_id 100\n vrrp_version 2\n vrrp_garp_master_delay 1\n vrrp_mcast_group4 172.16.31.10\n} \n\nvrrp_script chk_haproxy {\n script \"/usr/bin/nc -nvz -w 2 127.0.0.1 8443\"\n timeout 1\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 4545, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/hostname
444
[ "no_license" ]
[ { "path": "roles/hostname/tasks/main.yml", "content": "---\n- name: all host run this task\n shell: hostname\n register: info\n\n- name: modify hostname\n ansible.builtin.hostname:\n name: \"{{ inventory_hostname }}\"\n when: info.stdout == \"localhost.localdomain\"\n\n\n# 注意 ip 就是主机名, ip从ansible h...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 900, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kernel_update
444
[ "no_license" ]
[ { "path": "roles/kernel_update/tasks/main.yml", "content": "- name: install packages\n yum:\n name:\n - kernel-lt\n - kernel-lt-doc\n - kernel-lt-devel\n state: latest\n enablerepo: env-t\n skip_broken: true\n update_cache: true\n\n- name: grub set\n shell: grub2-set-default 0\n\n-...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1637, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kubeadm_config_create
444
[ "no_license" ]
[ { "path": "roles/kubeadm_config_create/templates/kubeadm-config.yaml.j2", "content": "apiVersion: kubeadm.k8s.io/v1beta3\nbootstrapTokens:\n- groups:\n - system:bootstrappers:kubeadm:default-node-token\n token: <PASSWORD>\n ttl: 24h0m0s\n usages:\n - signing\n - authentication\nkind: InitConfiguration...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 5070, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kubeadm_init
444
[ "no_license" ]
[ { "path": "roles/kubeadm_init/tasks/main.yml", "content": "- name: kubeadm init run\n shell: kubeadm init --config=/opt/kubeadm-config.yaml --upload-certs\n register: myshell_output\n\n- name: kubeadm init output\n debug:\n msg: \"{{ myshell_output.stdout }}\"\n\n- name: run shell init kubeconfig env\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 828, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kubeadm_join_cmd_create
444
[ "no_license" ]
[ { "path": "roles/kubeadm_join_cmd_create/templates/worker_join.sh.j2", "content": "#!/bin/bash\n{{ kubeadm_join }}\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 31 }, { "path": "roles/kubeadm_join_cmd_create/tasks/main.yml", "content": "- name: kubeadm join...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1364, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kubeadm_join_more_worker
444
[ "no_license" ]
[ { "path": "roles/kubeadm_join_more_worker/tasks/main.yml", "content": "\n- name: run join other master\n shell: sudo chmod +x /opt/worker_join.sh && /opt/worker_join.sh\n ignore_errors: yes \n register: join_output\n\n- name: worker join output\n debug:\n msg: \"{{ join_output.stdout }}\"\n\n- name: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 280, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/kubeadm_join_other_master
444
[ "no_license" ]
[ { "path": "roles/kubeadm_join_other_master/tasks/main.yml", "content": "\n- name: run join other master\n shell: sudo chmod +x /opt/master_join.sh && /opt/master_join.sh\n when: (hostvars[inventory_hostname].ansible_master | default(0) == 0)\n ignore_errors: yes \n \n\n- name: run shell init kubeconfig ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 1196, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/pre_download
444
[ "no_license" ]
[ { "path": "roles/pre_download/templates/env-t.repo.j2", "content": "[env-t]\nname=env-t repo - Base\nbaseurl=http://{{ inventory_hostname }}/x86_64/\nenable=1\ngpgcheck=0\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 99 }, { "path": "roles/pre_download/tasks/ma...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 5065, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/pre_images
444
[ "no_license" ]
[ { "path": "roles/pre_images/files/images.sh", "content": "#!/bin/bash\n#set -ex && set -o pipefail\nregistry_addr=$1:5000\npushd $2\nfor i in `kubeadm config images list --config=kubeadm-config.yaml` \ndo \n image_name=$(echo $i|cut -d \"/\" -f 3)\n echo $image_name\n ctr image pull $i\n ctr image t...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1245, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/registry_install
444
[ "no_license" ]
[ { "path": "roles/registry_install/tasks/main.yml", "content": "- name: pull registry:2.8.3\n shell: nerdctl pull registry:2.8.3\n environment: \"{{ proxy_env }}\"\n when: (hostvars[inventory_hostname].ansible_master | default(0) == 1)\n \n- name: run registry \n# shell: $(nerdctl ps | grep registry | ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 624, "all_permissive": false }
ansible_role
huhu-tiger/ansible_kubernets
5cc1bfbe4df0a85613673f9fe4f376278d3c8a9a
0
roles/repo
444
[ "no_license" ]
[ { "path": "roles/repo/tasks/main.yml", "content": "- name: create repor backup directory\n shell: mkdir -p /etc/yum.repos.d/back\n ignore_errors: yes\n when: (ansible_architecture) == \"x86_64\"\n\n- name: backup repos file\n shell: mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/back \n ignore_errors: yes...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1180, "all_permissive": false }
ansible_role
jnowakowski/cloudera-automation
6392a2907dfe4dcc651bd34f10e470365dd3ad7b
1
roles/cdh
444
[ "permissive" ]
[ { "path": "roles/cdh/tasks/main.yml", "content": "---\n\n- include_vars: ../../../group_vars/cdh_servers.yml\n- include_vars: ../../../group_vars/scm_server.yml\n- include_vars: ../../../group_vars/db_server.yml\n\n# Check whether cluster already exists\n# https://cloudera.github.io/cm_api/apidocs/v13/path_...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 2043, "all_permissive": true }
ansible_role
jnowakowski/cloudera-automation
6392a2907dfe4dcc651bd34f10e470365dd3ad7b
1
roles/cm_agents
444
[ "permissive" ]
[ { "path": "roles/cm_agents/tasks/main.yml", "content": "---\n\n- include: 36322.yml\n\n- name: Install Cloudera Manager Agents\n yum: name={{ item }} state=installed\n with_items:\n - cloudera-manager-daemons\n - cloudera-manager-agent\n\n- name: Configure Cloudera Manager Agent 'server_host'\n lin...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 4174, "all_permissive": true }
ansible_role
jnowakowski/cloudera-automation
6392a2907dfe4dcc651bd34f10e470365dd3ad7b
1
roles/cm_repo
444
[ "permissive" ]
[ { "path": "roles/cm_repo/tasks/main.yml", "content": "---\n\n- name: Add Cloudera Manager yum repository\n yum_repository:\n name: cloudera-manager\n description: Cloudera Manager\n baseurl: http://archive.cloudera.com/cm5/redhat/{{ ansible_distribution_major_version }}/x86_64/cm/5/\n gpgkey: h...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 485, "all_permissive": true }