반응형

IaC/Configuration Management 4

Git에서 2개의 계정(SSH Key) 사용하기

Overview보통 회사의 Github 계정과 자신의 Github 계정을 분리하지 않고 사용하는 사람들이 꽤 있다. 따라서 Git에서 2개의 계정을 사용하는 방법에 대해서 알아본다.  Git에서 2개의 계정(SSH Key) 사용하는 방법 1. 2개의 계정 생성 후 2개의 SSH Key 생성# Key 생성ssh-keygen -t rsa -C "somaz94@email.com" -f "id_rsa_somaz94"ssh-keygen -t rsa -C "somazcompany@email.com" -f "id_rsa_somazcompany"# 확인ls -l-rw------- 1 somaz somaz 2610 Mar 31 10:15 id_rsa_somaz94-rw-r--r-- 1 somaz somaz 574 Ma..

Git Rebase vs Merge

Overview Git Rebase와 Merge에 대해서 알아보자.  Git Rebase Rebase는 Feature Branch에서 Another Branch(typically the main branch)의 베이스로 Commit을 이동하거나 "replaying"함으로써 한 Branch에서 다른 Branch로 변경 사항을 통합하는 데 사용되는 강력한 Git 기능이다. Rebase의 주요 목표는 선형 프로젝트 히스토리(linear project history)를 만드는 것이다. ​  Functions in Rebase대화형 Rebase(`git rebase -i`)를 수행하는 동안 사용할 수 있는 몇 가지 일반적인 기능은 다음과 같다.pick: 수정 없이 Commit을 그대로 사용reword: Commi..

Ansible 활용 - ansible-galaxy에 Role/Collection 업로드

Overview Ansible-Galaxy 에 대해서 공부해보려고 한다. Ansible 설치 pip install ansible yum install ansible -y apt install ansible brew install ansible Ansible Galaxy란? Ansible Galaxy는 Ansible 콘텐츠를 공유하고 관리하기 위한 저장소이다. 이는 사용자가 Ansible에 대한 역할과 컬렉션을 찾고, 다운로드하고, 공유할 수 있는 플랫폼을 제공한다. Role Collection Ansible Galaxy 공식 사이트 Role이란? Ansible의 역할은 특정 작업 또는 작업 집합을 자동화하기 위해 일련의 작업, 변수, 파일 및 핸들러를 캡슐화하는 모듈식 단위이다. 역할은 재사용이 가능하며..

Ansible 개념과 설치 / 사용법(CentOS 7.9)

1. Ansible 이란? 2023.12.25 - [IaC/Configuration Management] - Ansible 활용 - ansible-galaxy에 Role/Collection 업로드 Ansible 활용 - ansible-galaxy에 Role/Collection 업로드 Overview Ansible-Galaxy 에 대해서 공부해보려고 한다. Ansible 설치 pip install ansible yum install ansible -y apt install ansible brew install ansible Ansible Galaxy란? Ansible Galaxy는 Ansible 콘텐츠를 공유하고 관리하기 위한 somaz.tistory.com 2024.02.29 - [Open Source ..

반응형