본문 바로가기

분류 전체보기222

[ansible] Failed to create temporary directory.In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in 개요 - ansible playbook 실행시 아래와 같은 오류를 해결할 수 있다. UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory.In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p .. 2023. 2. 9.
[ansible] Failed to connect to the host via ssh: ssh_exchange_identification: read: Connection reset by peer 개요 - 에러내용 처리 UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh_exchange_identification: read: Connection reset by peer", "unreachable": true} 실제 ansible서버에서 해당 목적지로 ssh 계정명@서버아이피로 접근 시 아래와 같은 에러발생 ssh_exchange_identification: read: Connection reset by peer 해결방법 - /etc/hsots.allow에 아래 코드 입력 sshd: 10.10.10.10 ##ansible서버 아이피 2023. 2. 8.
[mysql] lower_case_table_names 테이블 이름 대소문자 개요 - mysql my.cnf 설정에서 테이블 이름이 어떤식으로 저장되는지에 대한 설정에 대한 정의 세부내용 설정방법 - my.cnf에 아래 코드 입력후 서비스 재시작 [mysqld] lower_case_table_names = 0 lower_case_table_names 설정은 MySQL 서버의 테이블 이름에 대한 대소문자 구분 방식을 정의하는 설정 lower_case_table_names = 0: 테이블 이름에 대한 대소문자 구분이 유지되며, 테이블 이름을 지정할 때 입력한 그대로 저장됨 lower_case_table_names = 1: 테이블 이름이 저장될 때 모두 소문자로 변환 lower_case_table_names = 2: 테이블 이름이 저장될 때 모두 대문자로 변환 만약 lower_case.. 2023. 2. 7.
[jenkins] 젠킨스 job 권한 제어 개요 - 계정별 JOB 권한을 제어할 수 있다. 설정방법 jenkins 관리 > Configure Global Security > Authorization에서 Role-bales Strategy를 선택해야는데 없다. 플러그인 > Role-based Authoriztion Strategy 설치 젠킨스 관리 > configure global security > authoriztion에서 Role-based Strategy 선택 후 저장 젠킨스관리 > manage and Assighn Roles 선택 > Manage Roles 선택 Global roles > Role to add 를 통해 Role(그룹)을 추가 후 overall에 Read 권한을 추가한다. 추가하지 않으면 프로젝트 자체를 볼수 없다.(필수) .. 2023. 2. 2.
[jenkins] 젠킨스 job 대시보드(panel)에 javascrip iframe 추가 formatter html 개요 - 젠킨스 job panel에 iframe을 추가할 수 있다. - job 설명쪽에 html 소스 코드를 넣을 수 있지만 자바스크립트나 와부 페이지 불러오기등은 동작 못하게 되어있음 방법 - 플러그인 설치 : anything-goes-formatter 젠킨스관리 > Configure Global Security 클릭 > Markup Formatter 에서 allows arbitary HTML including javascript(UNSAFE) 지정(플러그인 설치를 하면 보임) job 설명에 iframe 소스코드를 입력 도출 결과 젠킨스 job 설명 javascript 추가 jenkins job javascript jenkins job panel 젠킨스 formatter javascript 2023. 1. 18.
반응형