Samples - name: Find files to delete find: paths: /home/mcpaint/backup patterns: *.tar.gz register: out - name: Delete files to delete file: path: "{{ item.path }}" state: absent with_items: "{{ out.files }}" loop_control: label: "{{ item.path }}" Documents https://docs.ansible.com/ansible/latest/collections/ansible/builtin/find_module.html 참고 자료: http://www.freekb.net/Article?id=573 Remove file..
몇 가지 증상이 나옵니다. metadata.xml 다운로드가 갑자기 느려졌다 metadata.xml 파일 크기는 분명 작은데.. 테스트 테스트 URL을 Group 으로 호출하면 -> 느림 해당 Proxy repository 로 다이렉트로 호출하면 -> 빠름 그렇다면 분명 Group 에 대한 문제 해결책 Group 내에 여러 Proxy Repository 중에서 Remote Repository 에 대한 커넥션 문제가 있는지 확인하세요. 분명 문제가 있는 Repository 가 있을 겁니다. 외부 저장소에 서비스를 중단하였거나, 외부 저장소에서 우리 IP를 차단(Banned) 했거나 발견되었다면, Manually Blocked 혹은 Auto Blocing enabled 체크를 하면 됩니다.
Ansible ‘When’ Statement: Check If Variable Is… Check if Ansible variable is defined (exists): tasks: - shell: echo "The variable 'foo' is defined: '{{ foo }}'" when: foo is defined - fail: msg="The variable 'bar' is not defined" when: bar is undefined Check if Ansible variable is empty: tasks: - fail: msg="The variable 'bar' is empty" when: bar|length == 0 - shell: echo "The variable 'foo' is n..
If the following error occurs when you start Postgresql, /var/log/messages May 24 10:25:10 your_server_name postmaster[76948]: 2021-05-24 10:25:10.895 JST [76948] FATAL: data directory "/data" has group or world access May 24 10:25:10 your_server_name postmaster[76948]: 2021-05-24 10:25:10.895 JST [76948] DETAIL: Permissions should be u=rwx (0700). Change a permission of the directory # sudo chm..
관련 내용: www.jenkins.io/doc/book/system-administration/security/configuring-content-security-policy/ Configuring Content Security Policy Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software www.jenkins.io .css 나 .js 요청 시 아래와 같은 메시지가 발생할 경우가 있다. Refused to apply inline style because it violates the following Content ..
- Total
- Today
- Yesterday
- DevOps
- Config History
- 엔시블
- nginx
- 젠킨스
- Thread Dump
- Ansible
- Jenkins
- JVM
- Linux
- 리눅스
- Shell Script
- Password manager
- 쓰레드덤프
- 쉘스크립트
- openssl
- ssl
- Playbook
- 파이프라인
- PostgreSQL
- iTerm2
- 데브옵스
- URL Encoding
- 엔서블
- Docker
- Nexus
- rsync
- groovy
- vagrant
- 플레이북
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |